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!

PrintPageEventArgs.Cancel

Gets or sets a value indicating whether the print job should be canceled.

[Visual Basic]
Public Property Cancel As Boolean
[C#]
public bool Cancel {get; set;}
[C++]
public: __property bool get_Cancel();
public: __property void set_Cancel(bool);
[JScript]
public function get Cancel() : Boolean;
public function set Cancel(Boolean);

Property Value

true if the print job should be cancelled; otherwise, false.

See Also

PrintPageEventArgs Class | PrintPageEventArgs Members | System.Drawing.Printing Namespace