PrintDocument for WinForms
Cancel プロパティ (C1PrintDocument)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス : Cancel プロパティ
Gets or sets a value indicating whether to cancel the generation of the current document. Note that this property is useful only if C1PrintDocument.DoEvents is set to true.
シンタックス
'宣言
 
Public Property Cancel As System.Boolean
'使用法
 
Dim instance As C1PrintDocument
Dim value As System.Boolean
 
instance.Cancel = value
 
value = instance.Cancel
public System.bool Cancel {get; set;}
解説
Setting this property to true can only be done while the current document is being generated (i.e. the value of the C1PrintDocument.BusyState property is equal to BusyStateEnum.Generating). An attempt to set this property to true when the document is not being generated will cause an exception.
参照

C1PrintDocument クラス
C1PrintDocument メンバ