Gets how many images are allowed to be captured into the image buffer.
The default value of this property is 1023.
If you set capacity to be smaller than count, the extra images in buffer will be removed.
When image buffer is full, that is to say, the return value of getCount() equals the return value of getCapacity(), the newly grabbed image will not be imported into the image viewer.
var imageviewer = DCSObject.getImageViewer("ImageViewerContainer"); // Get a specified image viewer imageviewer.image.getCapacity();