Vcl.Dialogs.TPrintDialog.PrintToFile
Delphi
property PrintToFile: Boolean read FPrintToFile write FPrintToFile default False;
C++
__property bool PrintToFile = {read=FPrintToFile, write=FPrintToFile, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Dialogs.pas Vcl.Dialogs.hpp |
Vcl.Dialogs | TPrintDialog |
Description
Indicates whether the Print To File check box is selected.
PrintToFile is true whenever the Print To File check box is selected in the dialog. To make the dialog open with the check box selected, set PrintToFile to true in the Object Inspector or in program code.
To make the Print To File check box appear in the dialog, set the poPrintToFile flag in Options. To disable (gray) the Print To File check box, set the poDisablePrintToFile flag.
See Also
Code Examples