The leading provider of version control solutions and TWAIN SDKs
  • Contact us









MaxImagesInBuffer Property

Description

Returns or sets the maximum number of images can be held in buffer.

ActiveX Edition Plug-in Edition Mac Edition
Since V6.1 Since V6.1 Since V6.4

Data type

Short

Syntax

ObjectName.MaxImagesInBuffer

Parameters

None.

Remarks

The default value of this property is 64.

If you set a MaxImagesInBuffer which is smaller than HowManyImagesInBuffer, the extra images in buffer will be released.

When image buffer is full, that is HowManyImagesInBuffer = MaxImagesInBuffer, the new acquired or opened image will replace the existing one, positioned by CurrentImageIndexInBuffer.

For example, if HowManyImagesInBuffer = 4 and MaxImagesInBuffer = 4, CurrentImageIndexInBuffer = 3, after a new image is acquired, the CurrentImageIndexInBuffer is set to 0, and the 1st image is replaced by the new acquired one . If another image is acquired again, the CurrentImageIndexInBuffer is set to 1 and the 2nd image is replaced by the new acquired one.

Note: CurrentImageIndexInBuffer is 0 based.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

See also

HowManyImagesInBuffer property, CurrentImageIndexInBuffer property