GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainSetAutoSourceClose Method
Set True to tell to the control to close the opened source after a scan process, else False.





In This Topic
TwainSetAutoSourceClose Method (GdPictureImaging)
In This Topic
Tells to the control to close or not the opened source after a scan process.
Syntax
'Declaration
 
Public Sub TwainSetAutoSourceClose( _
   ByVal AutoSourceClose As Boolean _
) 
public void TwainSetAutoSourceClose( 
   bool AutoSourceClose
)
public procedure TwainSetAutoSourceClose( 
    AutoSourceClose: Boolean
); 
public function TwainSetAutoSourceClose( 
   AutoSourceClose : boolean
);
public: void TwainSetAutoSourceClose( 
   bool AutoSourceClose
) 
public:
void TwainSetAutoSourceClose( 
   bool AutoSourceClose
) 

Parameters

AutoSourceClose
Set True to tell to the control to close the opened source after a scan process, else False.
Remarks
By default, the opened source is closed after a scan process. Use TwainSetAutoSourceClose(False) to change this Behavior.
See Also