'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