DTwainAcquirer::SetMaxPages

Top  Previous  Next

Syntax

 

DTwainAcquirer& SetMaxPages( LONG MaxPages );

 

Parameters

MaxAcquisitions

 

Sets the maximum number of pages to acquire when an acquisition is attempted.

 

Return Value

Returns reference to current DTwainAcquirer object (*this).

 

 

 

Comments

 

 

Sets the maximum number of pages to acquire in a single acquisition session.  If MaxPages is DTWAIN_ACQUIREALL, then all of the pages will be acquired.  By default, all pages will be acquired.