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

Inheritance: IRtfVisualImageAdapter
显示文件 Open project: Shereef/RTF-to-HTML-Converter-Class-Library-DLL Class Usage Examples

Public Methods

Method 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

Method Description
GetFileImageExtension ( ImageFormat imageFormat ) : string

Method Details

CalcImageHeight() public method

public CalcImageHeight ( RtfVisualImageFormat format, int height, int desiredHeight, int scaleHeightPercent ) : int
format RtfVisualImageFormat
height int
desiredHeight int
scaleHeightPercent int
return int

CalcImageWidth() public method

public CalcImageWidth ( RtfVisualImageFormat format, int width, int desiredWidth, int scaleWidthPercent ) : int
format RtfVisualImageFormat
width int
desiredWidth int
scaleWidthPercent int
return int

GetImageFormat() public method

public GetImageFormat ( RtfVisualImageFormat rtfVisualImageFormat ) : ImageFormat
rtfVisualImageFormat RtfVisualImageFormat
return System.Drawing.Imaging.ImageFormat

ResolveFileName() public method

public ResolveFileName ( int index, RtfVisualImageFormat rtfVisualImageFormat ) : string
index int
rtfVisualImageFormat RtfVisualImageFormat
return string

RtfVisualImageAdapter() public method

public RtfVisualImageAdapter ( ) : System
return System

RtfVisualImageAdapter() public method

public RtfVisualImageAdapter ( ImageFormat targetFormat ) : System
targetFormat System.Drawing.Imaging.ImageFormat
return System

RtfVisualImageAdapter() public method

public RtfVisualImageAdapter ( string fileNamePattern ) : System
fileNamePattern string
return System

RtfVisualImageAdapter() public method

public RtfVisualImageAdapter ( string fileNamePattern, ImageFormat targetFormat ) : System
fileNamePattern string
targetFormat System.Drawing.Imaging.ImageFormat
return System

RtfVisualImageAdapter() public method

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