Sets how many images are allowed to be captured into the image buffer.
iValue: the value to set
The default value of this property is 1023.
Please set it to positive integer and smaller than 2^31, otherwise it won’t be changed.
If capacity you set is smaller than count, the extra images in buffer will be removed.
When image buffer is full, that is count equals capacity, the newly acquired or loaded image will not be imported into the image buffer.
var imageviewer = DCSObject.getImageViewer("ImageViewerContainer"); // Get a specified image viewer imageviewer.image.setCapacity(1000); imageviewer.image.getCapacity();