GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainSetKeepSourceEnabled Method
Set true to tell to the control to retain source in an enabled state after a scan process, else false.





In This Topic
TwainSetKeepSourceEnabled Method (GdPictureImaging)
In This Topic
Tells to the control to favor retaining the source in an enabled state after a scan process.
Syntax
'Declaration
 
Public Sub TwainSetKeepSourceEnabled( _
   ByVal KeepSourceEnabled As Boolean _
) 
public void TwainSetKeepSourceEnabled( 
   bool KeepSourceEnabled
)
public procedure TwainSetKeepSourceEnabled( 
    KeepSourceEnabled: Boolean
); 
public function TwainSetKeepSourceEnabled( 
   KeepSourceEnabled : boolean
);
public: void TwainSetKeepSourceEnabled( 
   bool KeepSourceEnabled
) 
public:
void TwainSetKeepSourceEnabled( 
   bool KeepSourceEnabled
) 

Parameters

KeepSourceEnabled
Set true to tell to the control to retain source in an enabled state after a scan process, else false.
Remarks
By default, the opened source is disabled, then closed after a scan process. Use TwainSetKeepSourceEnabled(False) to change this Behavior.
See Also