Cancel Property
Collapse the table of content
Expand the table of content

PrintPageEventArgs.Cancel Property

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

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

Property Value

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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

© 2016 Microsoft