C# Class Itenso.Rtf.Converter.Image.RtfImageConverter

Inheritance: Itenso.Rtf.Interpreter.RtfInterpreterListenerBase
Mostrar archivo Open project: Shereef/RTF-to-HTML-Converter-Class-Library-DLL Class Usage Examples

Public Methods

Method Description
RtfImageConverter ( ) : System
RtfImageConverter ( RtfImageConvertSettings settings ) : System

Protected Methods

Method Description
DoBeginDocument ( IRtfInterpreterContext context ) : void
DoInsertImage ( IRtfInterpreterContext context, RtfVisualImageFormat format, int width, int height, int desiredWidth, int desiredHeight, int scaleWidthPercent, int scaleHeightPercent, string imageDataHex ) : void
EnsureImagesPath ( string imageFileName ) : void
SaveImage ( byte imageBuffer, RtfVisualImageFormat format, string fileName, Size size ) : void

Method Details

DoBeginDocument() protected method

protected DoBeginDocument ( IRtfInterpreterContext context ) : void
context IRtfInterpreterContext
return void

DoInsertImage() protected method

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
return void

EnsureImagesPath() protected method

protected EnsureImagesPath ( string imageFileName ) : void
imageFileName string
return void

RtfImageConverter() public method

public RtfImageConverter ( ) : System
return System

RtfImageConverter() public method

public RtfImageConverter ( RtfImageConvertSettings settings ) : System
settings RtfImageConvertSettings
return System

SaveImage() protected method

protected SaveImage ( byte imageBuffer, RtfVisualImageFormat format, string fileName, Size size ) : void
imageBuffer byte
format RtfVisualImageFormat
fileName string
size System.Drawing.Size
return void