Accusoft.TwainPro9.Net
StartSession Method




Enables the Current Data Source and places it into the Image Transfer state. Displays the Data Source User Interface if ShowUserInterface is True. This method will return when the user closes the UI if the ShowUserInterface property is True or after the image transfer if ShowUserInterface is False.
Syntax
'Declaration
 
Public Sub StartSession() 
'Usage
 
Dim instance As TwainDevice
 
instance.StartSession()
public void StartSession()
public: void StartSession(); 
public:
void StartSession(); 
Remarks

It is not necessary to call OpenSession before calling this method. All Capability Negotiation methods must be called before this method.

Before returning from this method, the session will be closed if the CloseSessionAfterAcquisition property is true. If the CloseSessionAfterAcquisition property is false, the session will remain open and return to the Capability Negotiation state."

See Also

Reference

TwainDevice Class
TwainDevice Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback