C# 클래스 CubePdf.Parameter

各種パラメータの値を定義したクラスです。
파일 보기 프로젝트 열기: cube-soft/CubePdf 1 사용 예제들

공개 메소드들

메소드 설명
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

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

메소드 상세

GetDevice() 공개 정적인 메소드

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

GetExtension() 공개 정적인 메소드

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

IsDocumentType() 공개 정적인 메소드

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

IsImageType() 공개 정적인 메소드

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

ToValue() 공개 정적인 메소드

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

ToValue() 공개 정적인 메소드

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

ToValue() 공개 정적인 메소드

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