True to enable auto-size images, else False.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainSetAutoSize Method

TwainSetAutoSize Method (GdPictureImaging)

In This Topic
If this option is available on opened source, try to enable or disable the auto-size images.
Syntax
'Declaration

 

Public Function TwainSetAutoSize( _

   ByVal AutoSize As Boolean _

) As Boolean
public bool TwainSetAutoSize( 

   bool AutoSize

)
public function TwainSetAutoSize( 

    AutoSize: Boolean

): Boolean; 
public function TwainSetAutoSize( 

   AutoSize : boolean

) : boolean;
public: bool TwainSetAutoSize( 

   bool AutoSize

) 
public:

bool TwainSetAutoSize( 

   bool AutoSize

) 

Parameters

AutoSize
True to enable auto-size images, else False.

Return Value

TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is TWAIN_SOURCE_OPEN (4) To get the TWAIN state, use the TwainGetState() method.
See Also