Gets or sets the highest FromPage or ToPage which may be selected in a print dialog box.
[Visual Basic] Public Property MaximumPage As Integer [C#] public int MaximumPage {get; set;} [C++] public: __property int get_MaximumPage(); public: __property void set_MaximumPage(int); [JScript] public function get MaximumPage() : int; public function set MaximumPage(int);
The highest allowable maximum page.
Exception Type | Condition |
---|---|
ArgumentException | The maximum page number is less than zero. |
PrinterSettings Class | PrinterSettings Members | System.Drawing.Printing Namespace | Copies | DefaultPageSettings | Duplex | FromPage | LandscapeAngle | MaximumCopies | MinimumPage | PrintRange | PrinterName | ToPage