[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.Cancel

Cancel Property

Cancel

Gets or sets a value indicating whether to cancel the generation of the current document. Note that this property is useful only if DoEvents is set to true.

Declaration
[Browsable(false)]
public bool Cancel { get; set; }
Remarks

Setting this property to true can only be done while the current document is being generated (i.e. the value of the BusyState property is equal to Generating). An attempt to set this property to true when the document is not being generated will cause an exception.