getContainerId()

Description

Gets the container id of a specific image viewer.

Syntax

ImageViewerObject.ui.getContainerId();

Parameters

None

Return value

string

Example

if (DCSObject) {
      var aryViewers = DCSObject.getAllImageViewers();
       for (var i = 0; i < aryViewers.length; i++) {
           aryViewers[i].ui.getContainerId(); // Gets the container ids of all image viewers.
       }
}

See also

.getAllImageViewers()