DTWAIN_EnableThumbnail

Top  Previous  Next

The DTWAIN_EnableThumbnail function turns on or off acquiring images as thumbnails.

 

DTWAIN_BOOL DTWAIN_EnableThumbnail (

DTWAIN_SOURCE

Source,

DTWAIN_BOOL

bEnable );

 

Parameters

Source

An open TWAIN Source.

 

bEnable

Determines whether to turn on or off acquiring images as thumbnails.

 

Return Values

The return value is TRUE if successful.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_EnableThumbnail function turns on or off the Source returning images as thumbnails.  If bEnable is TRUE, the thumbnailing is turned on, else it is turned off.  This function should be called before acquiring any images.

 

Note that few Sources support thumbnail images.  To check if the Source supports thumbnail images, call DTWAIN_IsThumbnailSupported.

 

TWAIN State Transitions

The Source must be in State 4 or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function