DTwainSource::GetImageInfo

Top  Previous  Next

Syntax

bool DTwainSource::GetImageInfo( DTwainImageInfo& Info ) const;

 

Parameters

Info

A DTwainImageInfo object  that will store the various aspects of the image that will be acquired.

 

Return Value

TRUE if successful, FALSE otherwise.

 

Comments

This function returns the image information in Info when the Source is ready to acquire an image.  To see more detailed information concerning this function.

 

Important Note!: The information returned by CDTwainSource::GetImageInfo is reliable only at the time when a DTwainListener object has the OnTransferReady( ) function invoked.  Please see example 11 for handling of DTwainSource::GetImageInfo and DTwainListener objects.