Itenso.Rtf.Interpreter.RtfInterpreterListenerFileLogger.DoInsertImage C# (CSharp) Метод

DoInsertImage() защищенный Метод

protected DoInsertImage ( IRtfInterpreterContext context, RtfVisualImageFormat format, int width, int height, int desiredWidth, int desiredHeight, int scaleWidthPercent, int scaleHeightPercent, string imageDataHex ) : void
context IRtfInterpreterContext
format RtfVisualImageFormat
width int
height int
desiredWidth int
desiredHeight int
scaleWidthPercent int
scaleHeightPercent int
imageDataHex string
Результат void
        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) ) );
            }
        }