Accusoft.TwainPro9.Net
CloseOnCancel Property




Specifies whether the TWAIN User Interface should be closed when the operation is cancelled.
Syntax
'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);
}
Remarks

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

See Also

Reference

TwainDevice Class
TwainDevice Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback