DTwainBufferedTransfer::SetStripSize |
Top Previous Next |
Syntax
DTwainBufferedTransfer& DTwainBufferedTransfer::SetStripSize( LONG Stripsize );
Parameters StripSize Sets the size of the strip of image data that is acquired.
Return Value Returns reference to current DTwainBufferedTransfer object (*this).
Comments
The StripSize argument must be greater or equal to DTwainBufferedTransfer::GetMinStripSize( ) and less than or equal DTwainBufferedTransfer::GetMaxStripSize( ). Setting the strip size gives you programmatic control of how much data is acquired for each strip when doing a buffered transfer.
Before calling this function, a Source must be attached to the DTwainBufferedTransfer object by calling DTwainBufferedTransfer::Attach or by constructing the DTwainBufferedTransfer object with the Source as the lone argument.
|