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.ToPage

Gets or sets the last page to print. the NGWS frameworks does not pay any attention to this property; it is up to the application to interpret it as appropriate.

[Visual Basic]
Public Property ToPage As Integer
[C#]
public int ToPage {get; set;}
[C++]
public: __property int get_ToPage();
public: __property void set_ToPage(int);
[JScript]
public function get ToPage() : int;
public function set ToPage(int);

Property Value

The last page to print.

Exceptions

Exception Type Condition
ArgumentException The value is less than zero.

See Also

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