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

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

Méthodes publiques

Méthode Description
RtfImageConverter ( ) : System
RtfImageConverter ( RtfImageConvertSettings settings ) : System

Méthodes protégées

Méthode 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 méthode

protected DoBeginDocument ( IRtfInterpreterContext context ) : void
context IRtfInterpreterContext
Résultat void

DoInsertImage() protected méthode

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
Résultat void

EnsureImagesPath() protected méthode

protected EnsureImagesPath ( string imageFileName ) : void
imageFileName string
Résultat void

RtfImageConverter() public méthode

public RtfImageConverter ( ) : System
Résultat System

RtfImageConverter() public méthode

public RtfImageConverter ( RtfImageConvertSettings settings ) : System
settings RtfImageConvertSettings
Résultat System

SaveImage() protected méthode

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