C# Class CubePdf.Parameter

各種パラメータの値を定義したクラスです。
Mostra file Open project: cube-soft/CubePdf Class Usage Examples

Public Methods

Method Description
GetDevice ( FileTypes id, bool grayscale ) : Ghostscript.Devices

引数に指定されたファイル形式とグレースケールかどうかを表す値から 対応する Ghostscript.Devices 列挙型の値を取得します。

GetExtension ( FileTypes id ) : string

ファイル形式に対応する拡張子を取得します。

IsDocumentType ( FileTypes id ) : bool

ファイルの種類が「ドキュメント」であるかどうかを判別します。

IsImageType ( FileTypes id ) : bool

ファイルの種類がビットマップイメージかどうかを判別します。

ToValue ( PdfVersions id ) : double

PdfVersions 列挙型の各値に対応する実際の数値を取得します。

ToValue ( Resolutions id ) : int

Resolutions 列挙型の各値に対応する実際の数値を取得します。

ToValue ( FileTypes id ) : string

それぞれのファイル形式に対応する文字列を取得します。

Method Details

GetDevice() public static method

引数に指定されたファイル形式とグレースケールかどうかを表す値から 対応する Ghostscript.Devices 列挙型の値を取得します。
public static GetDevice ( FileTypes id, bool grayscale ) : Ghostscript.Devices
id FileTypes
grayscale bool
return Ghostscript.Devices

GetExtension() public static method

ファイル形式に対応する拡張子を取得します。
public static GetExtension ( FileTypes id ) : string
id FileTypes
return string

IsDocumentType() public static method

ファイルの種類が「ドキュメント」であるかどうかを判別します。
public static IsDocumentType ( FileTypes id ) : bool
id FileTypes
return bool

IsImageType() public static method

ファイルの種類がビットマップイメージかどうかを判別します。
public static IsImageType ( FileTypes id ) : bool
id FileTypes
return bool

ToValue() public static method

PdfVersions 列挙型の各値に対応する実際の数値を取得します。
public static ToValue ( PdfVersions id ) : double
id PdfVersions
return double

ToValue() public static method

Resolutions 列挙型の各値に対応する実際の数値を取得します。
public static ToValue ( Resolutions id ) : int
id Resolutions
return int

ToValue() public static method

それぞれのファイル形式に対応する文字列を取得します。
public static ToValue ( FileTypes id ) : string
id FileTypes
return string