FMX.Platform.IFMXDialogService.DialogPrint

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function DialogPrint(var ACollate, APrintToFile: Boolean;  var AFromPage, AToPage, ACopies: Integer; AMinPage, AMaxPage: Integer; var APrintRange: TPrintRange; AOptions: TPrintDialogOptions): Boolean;

C++

virtual bool __fastcall DialogPrint(bool &ACollate, bool &APrintToFile, int &AFromPage, int &AToPage, int &ACopies, int AMinPage, int AMaxPage, System::Uitypes::TPrintRange &APrintRange, System::Uitypes::TPrintDialogOptions AOptions) = 0 ;

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Platform.pas
FMX.Platform.hpp
FMX.Platform IFMXDialogService

説明

下位クラスでは、DialogPrint は、[印刷]ダイアログボックスを表示、実行するための機能を実装します。

DialogPrint は、次のパラメータを取ります:

パラメータ 意味
ACollate 複数コピーを印刷する際、ページを部単位にしたいかどうかを指定。
APrintToFile 印刷を、選択したプリンタにではなく、ファイルに対して行うかどうかを指定。
AFromPage 開始ページを指定。
AToPage 終了ページを指定。
AMinPage 選択可能なページのうち、初めのものを指定。
AMaxPage 選択可能なページのうち、最後のものを指定。
APrintRange 開始ページの選択の種類を指定。
AOptions [印刷]ダイアログボックスの一連のオプションを指定。

DialogPrint は、[印刷]ダイアログボックスが正しく実行された際には True を、そうでなければ False を返します。

関連項目