DTwainAcquirer::SetMaxAcquisitions

Top  Previous  Next

Syntax

 

DTwainAcquirer& DTwainAcquirer::SetMaxAcqusitions(  LONG MaxAcquisitions );

 

Parameters

MaxAcquisitions

 

Sets the maximum number of acquisitions to attempt before closing the Source's user interface.

 

Return Value

Returns reference to current DTwainAcquirer object (*this).

 

 

Comments

 

 

Sets the maximum number of acquisitions to attempt before closing the Twain driver's user interface.  By default, the DTwainAcquirer setting for the maximum number of acquisitions to attempt will be DTWAIN_MAXACQUIRE (the user interface remains opened until explicitly closed by the user or application).