You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > TWAIN Features > TwainSetAutoSize Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.TwainSetAutoSize Method

If this option is available on opened source, try to enable or disable the auto-size images.

C#
public Boolean TwainSetAutoSize(
    Boolean AutoSize
);
Visual Basic
Public Function TwainSetAutoSize(
    ByVal AutoSize As Boolean
) As Boolean
Parameters
Parameters 
Description 
AutoSize 
True to enable auto-size images, else False.  
Returns

TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.

Before using this function check that the TWAIN state is TWAIN_SOURCE_OPEN (4) 

To get the TWAIN state, use the TwainGetState() function.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.