getAllImageViewers()

Description

Gets all image viewers.

Syntax

DCSObject.getAllImageViewers();

Return value

Array

Example


if (DCSObject) {
   var aryViewers = DCSObject.getAllImageViewers();   // Get all image viewers
   for (var i = 0; i < aryViewers.length; i++){
       console.log(aryViewers[i].image.getCount());
       console.log(aryViewers[i].image.getIndex());
   }
}

See also

.getImageViewer()