See Also Examples Applies To
Tries to enable or disable the auto-size images capability.
Syntax
object.TwainSetAutoSize (bAutoSize)
The TwainSetAutoSize syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| bAutoSize | Required. Boolean. True to enable auto-sizes image, else False. |
Returns
Boolean. TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.
Remarks
Before using this function check that the TWAIN state is TWAIN_SOURCE_OPEN (4)
To get the TWAIN state, use the TwainGetState() function.
Category
TWAIN Functions