Indicates if this item is visible.
Object.defineProperty(ImageViewerItem.prototype, 'isVisible',
get: function(),
set: function(value)
)
isVisible: boolean;
true if this item is visible, otherwise; false. Default value is true.
Invisible items (the value of IsVisible is false) will not be rendered nor participate in layout calculations.
For more information, refer Image Viewer Items, Image Viewer Layouts and Image Viewer Rendering.
this._imageViewer.beginUpdate();
var item = this._imageViewer.items.item(0);
item.isVisible = !item.isVisible;
alert("imageViewer.items.item(0).isVisible = " + item.isVisible.toString());
this._imageViewer.endUpdate();
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET