DTwainAcquirer::GetMaxAcquisitions

Top  Previous  Next

Syntax

 

LONG DTwainAcquirer::GetMaxAcqusitions( ) const;

 

 

Return Value

Returns the maximum number of acquisitions attempted before closing the Twain user interface.  If DTWAIN_MAXACQUIRE is returned, the Twain user interface is displayed until the user explicitly closes the user interface, or if the application closes the user interface.

 

 

 

 

Comments

 

 

To set the maximum number of acquisitions to attempt before closing the user intrface call, call DTwainAcquirer::SetMaxAcquisitions.  By default, the DTwainAcquirer object will be DTWAIN_MAXACQUIRE (the user interface remains opened until explicitly closed by the user or application).