FMX.Printer.TPrintDialog.MaxPage
Delphi
property MaxPage: Integer read FMaxPage write FMaxPage default 0;
C++
__property int MaxPage = {read=FMaxPage, write=FMaxPage, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Printer.pas FMX.Printer.hpp |
FMX.Printer | TPrintDialog |
Description
Determines the greatest page number that the user can enter into the to field of the Print dialog.
If the user tries to enter a number greater than MaxPage into the to field, an error message appears when the OK button is clicked.
Note: The from and to fields of the Print dialog are enabled only if Options contains the poPageNums flag. If poPageNums exists in Options, MaxPage must be set to a value greater than MinPage, or the dialog will not open.