setHeight()

Description

Sets the image viewer height (in px).

Syntax

ImageViewerObject.ui.setHeight(iValue);

Parameters

<int> iValue: the value to set

Return value

bool

Example

             var imageviewer = DCSObject.getImageViewer ("ImageViewerContainer");  // Get a specified image viewer
             imageviewer.ui.setWidth(300);  // Set the width
             imageviewer.ui.setHeight(300); // Set the height
      

See also

.ui.setWidth()

Is this page helpful?

Leave a Reply

Your email address will not be published.