FMX.Printer.Win.TPrinterWin.SetState
Delphi
procedure SetState(Value: TPrinterState);
C++
void __fastcall SetState(System::Uitypes::TPrinterState Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Printer.Win.pas FMX.Printer.Win.hpp |
FMX.Printer.Win | TPrinterWin |
Description
Protected method that is used internally in order to set the state of the current printer.
The state of the printer can be one of the following:
Value | Meaning |
---|---|
psNoHandle |
The printer object has no handle to the printer device. |
psHandleIC |
The printer object has an information context handle for the printer device. |
psHandleDC |
The printer object has a device context handle for the printer device. |