getWidth()

Description

Gets the image viewer width (in px).

Syntax

ImageViewerObject.ui.getWidth();

Return value

int

Example

             var imageviewer = DCSObject.getImageViewer("ImageViewerContainer");  // Get a specified image viewer
             imageviewer.ui.getWidth();  // Get the width
             imageviewer.ui.getHeight(); // Get the height
      

See also

.ui.getHeight()