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

Inheritance: IRtfVisualImageAdapter
Afficher le fichier Open project: Shereef/RTF-to-HTML-Converter-Class-Library-DLL Class Usage Examples

Méthodes publiques

Méthode Description
CalcImageHeight ( RtfVisualImageFormat format, int height, int desiredHeight, int scaleHeightPercent ) : int
CalcImageWidth ( RtfVisualImageFormat format, int width, int desiredWidth, int scaleWidthPercent ) : int
GetImageFormat ( RtfVisualImageFormat rtfVisualImageFormat ) : ImageFormat
ResolveFileName ( int index, RtfVisualImageFormat rtfVisualImageFormat ) : string
RtfVisualImageAdapter ( ) : System
RtfVisualImageAdapter ( ImageFormat targetFormat ) : System
RtfVisualImageAdapter ( string fileNamePattern ) : System
RtfVisualImageAdapter ( string fileNamePattern, ImageFormat targetFormat ) : System
RtfVisualImageAdapter ( string fileNamePattern, ImageFormat targetFormat, double dpiX, double dpiY ) : System

Private Methods

Méthode Description
GetFileImageExtension ( ImageFormat imageFormat ) : string

Method Details

CalcImageHeight() public méthode

public CalcImageHeight ( RtfVisualImageFormat format, int height, int desiredHeight, int scaleHeightPercent ) : int
format RtfVisualImageFormat
height int
desiredHeight int
scaleHeightPercent int
Résultat int

CalcImageWidth() public méthode

public CalcImageWidth ( RtfVisualImageFormat format, int width, int desiredWidth, int scaleWidthPercent ) : int
format RtfVisualImageFormat
width int
desiredWidth int
scaleWidthPercent int
Résultat int

GetImageFormat() public méthode

public GetImageFormat ( RtfVisualImageFormat rtfVisualImageFormat ) : ImageFormat
rtfVisualImageFormat RtfVisualImageFormat
Résultat System.Drawing.Imaging.ImageFormat

ResolveFileName() public méthode

public ResolveFileName ( int index, RtfVisualImageFormat rtfVisualImageFormat ) : string
index int
rtfVisualImageFormat RtfVisualImageFormat
Résultat string

RtfVisualImageAdapter() public méthode

public RtfVisualImageAdapter ( ) : System
Résultat System

RtfVisualImageAdapter() public méthode

public RtfVisualImageAdapter ( ImageFormat targetFormat ) : System
targetFormat System.Drawing.Imaging.ImageFormat
Résultat System

RtfVisualImageAdapter() public méthode

public RtfVisualImageAdapter ( string fileNamePattern ) : System
fileNamePattern string
Résultat System

RtfVisualImageAdapter() public méthode

public RtfVisualImageAdapter ( string fileNamePattern, ImageFormat targetFormat ) : System
fileNamePattern string
targetFormat System.Drawing.Imaging.ImageFormat
Résultat System

RtfVisualImageAdapter() public méthode

public RtfVisualImageAdapter ( string fileNamePattern, ImageFormat targetFormat, double dpiX, double dpiY ) : System
fileNamePattern string
targetFormat System.Drawing.Imaging.ImageFormat
dpiX double
dpiY double
Résultat System