NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PrinterSettings.MaximumPage

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);

Property Value

The highest allowable maximum page.

Exceptions

Exception Type Condition
ArgumentException The maximum page number is less than zero.

See Also

PrinterSettings Class | PrinterSettings Members | System.Drawing.Printing Namespace | Copies | DefaultPageSettings | Duplex | FromPage | LandscapeAngle | MaximumCopies | MinimumPage | PrintRange | PrinterName | ToPage