FMX.Printer.Win.TPrinterWin.SetState

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

Delphi

procedure SetState(Value: TPrinterState);

C++

void __fastcall SetState(System::Uitypes::TPrinterState Value);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
FMX.Printer.Win.pas
FMX.Printer.Win.hpp
FMX.Printer.Win TPrinterWin

説明

内部的に使用される protected メソッドで、現在のプリンタの状態を設定します。

プリンタの状態は次のいずれかになります:

意味

psNoHandle

プリンタ オブジェクトは、プリンタ デバイスへのハンドルを持っていません。

psHandleIC

プリンタ オブジェクは、プリンタ デバイスへの情報コンテキスト ハンドルを持っています。

psHandleDC

プリンタ オブジェクは、プリンタ デバイスへのデバイス コンテキスト ハンドルを持っています。

関連項目