Gets how many images are allowed to be captured into the image buffer.
If it fails to get the capacity, it returns
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 the 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();