protected override void DoInsertImage( IRtfInterpreterContext context,
RtfVisualImageFormat format,
int width, int height, int desiredWidth, int desiredHeight,
int scaleWidthPercent, int scaleHeightPercent,
string imageDataHex
)
{
if ( settings.Enabled && !string.IsNullOrEmpty( settings.ImageFormatText ) )
{
WriteLine( string.Format(
CultureInfo.InvariantCulture,
settings.ImageFormatText,
format,
width,
height,
desiredWidth,
desiredHeight,
scaleWidthPercent,
scaleHeightPercent,
imageDataHex,
(imageDataHex.Length / 2) ) );
}
}