Vcl.Dialogs.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 | Vcl.Dialogs.pas Vcl.Dialogs.hpp |
Vcl.Dialogs | TPrintDialog |
Description
Determines the greatest page number the user can enter when specifying pages to print.
If the user tries to enter a number greater than MaxPage, an error message appears.
Note: The user can specify page numbers only if the poPageNums flag is set in Options. If poPageNums is on, MaxPage must be set to a value greater than MinPage or the Print dialog will not open.
See Also
Code Examples