FMX.Printer.TPrinter.CheckPrinting
Delphi
procedure CheckPrinting(Printing: Boolean);
C++
void __fastcall CheckPrinting(bool Printing);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Printer.pas FMX.Printer.hpp |
FMX.Printer | TPrinter |
Description
Verifies whether a printing is in process and, if required, raises an exception.
The CheckPrinting method verifies whether the active printer is printing a document and, if the Printing
parameter is True, CheckPrinting raises an exception with a custom message saying whether printing is in progress or not.