getCount()

Description

Gets how many images are currently loaded in the buffer.

Syntax

ImageViewerObject.image.getCount();

Return value

<int>

If it fails to get the count, it returns null.

Remarks

When an error occurs, check getErrorCode() or getErrorString() for error information.

Example

             var imageviewer = DCSObject.getImageViewer ("ImageViewerContainer");  // Get a specified image viewer
             imageviewer.image.getCount();
      

See also

.image.getCapacity()
.image.getIndex()

Is this page helpful?

Leave a Reply

Your email address will not be published.