Accusoft.TwainPro9.Net
CloseSessionAfterAcquisition Property




"Gets or sets a value indicating whether the session with the data source and data source manager will be closed before returning from the StartSession method."
Syntax
'Declaration
 
<DescriptionAttribute("Indicates whether the session with the data source and data source manager will be closed before returning from the StartSession method.")>
<DefaultValueAttribute()>
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property CloseSessionAfterAcquisition As Boolean
'Usage
 
Dim instance As TwainDevice
Dim value As Boolean
 
instance.CloseSessionAfterAcquisition = value
 
value = instance.CloseSessionAfterAcquisition
[Description("Indicates whether the session with the data source and data source manager will be closed before returning from the StartSession method.")]
[DefaultValue()]
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public bool CloseSessionAfterAcquisition {get; set;}
[Description("Indicates whether the session with the data source and data source manager will be closed before returning from the StartSession method.")]
[DefaultValue()]
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public: __property bool get_CloseSessionAfterAcquisition();
public: __property void set_CloseSessionAfterAcquisition( 
   bool value
);
[Description("Indicates whether the session with the data source and data source manager will be closed before returning from the StartSession method.")]
[DefaultValue()]
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public:
property bool CloseSessionAfterAcquisition {
   bool get();
   void set (    bool value);
}
See Also

Reference

TwainDevice Class
TwainDevice Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback