Accusoft.TwainProSdk Namespace > TwainDevice Class : CloseOnCancel Property |
'Declaration <DescriptionAttribute("Specifies whether the TWAIN User Interface should be closed when the operation is cancelled.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <DefaultValueAttribute()> <BrowsableAttribute(False)> Public Property CloseOnCancel As Boolean
'Usage Dim instance As TwainDevice Dim value As Boolean instance.CloseOnCancel = value value = instance.CloseOnCancel
[Description("Specifies whether the TWAIN User Interface should be closed when the operation is cancelled.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DefaultValue()] [Browsable(false)] public bool CloseOnCancel {get; set;}
[Description("Specifies whether the TWAIN User Interface should be closed when the operation is cancelled.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DefaultValue()] [Browsable(false)] public: __property bool get_CloseOnCancel(); public: __property void set_CloseOnCancel( bool value );
[Description("Specifies whether the TWAIN User Interface should be closed when the operation is cancelled.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DefaultValue()] [Browsable(false)] public: property bool CloseOnCancel { bool get(); void set ( bool value); }
If the TWAIN User Interface is shown, the CloseOnCancel property determines whether the User Interface will be closed when the user issues a cancel.
Default value: false