PrintOptions
レンダリングと印刷
説明
この関数は、次の Options パラメーターとして使用できる値を構築するために使用します
PrintDocument 関数
構文
Delphi
Function TPDFlib.PrintOptions(PageScaling, AutoRotateCenter: Integer; Const Title: WideString): Integer;
ActiveX
Function PDFlib::PrintOptions(PageScaling As Long, AutoRotateCenter As Long, Title As String) As Long
DLL
int DLPrintOptions(int InstanceID, int PageScaling, int AutoRotateCenter, const wchar_t* Title);
int DLPrintOptionsA(int InstanceID, int PageScaling, int AutoRotateCenter, const char* Title);
パラメータ
| PageScaling | 0 = なし 1 = 用紙に合わせる 2 = 大きいページを縮小 |
|---|---|
| AutoRotateCenter | 0 = ページを自動回転しない 1 = 出力メディアに収まるようページを回転し、ページ中央に配置 -1 = 出力メディアに収まるようページを回転して中央に配置するが、代わりに反時計回りに回転 |
| Title | ドキュメントのタイトル。このタイトルは Windows の Print Manager とネットワークタイトルページで使用されます |
戻り値
PrintDocument関数用に組み立てられたOptions値を返します。ページ拡大縮小モード、自動回転と中央揃えのフラグ、ジョブタイトルへの内部参照がエンコードされています。