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);
The last page to print.
Exception Type | Condition |
---|---|
ArgumentException | The value is less than zero. |
PrinterSettings Class | PrinterSettings Members | System.Drawing.Printing Namespace | Copies | DefaultPageSettings | Duplex | FromPage | LandscapeAngle | MaximumCopies | MaximumPage | MinimumPage | PrintRange | PrinterName