PrintPageEventArgs.Cancel Property


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

 property bool Cancel { bool get(); void set(bool value); };
public bool Cancel { get; set; }
member this.Cancel : bool with get, set
Public Property Cancel As Boolean

Property Value

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

Applies to