Indicates if this item is enabled.
Object.defineProperty(ImageViewerItem.prototype, 'isEnabled',
get: function(),
set: function(value)
)
isEnabled: boolean;
true if this item is enabled, otherwise; false. Default value is true.
Inactive items (the value of IsEnabled is false) are rendered and participate in layout calculations but do not respond to interactive mode events.
For more information, refer Image Viewer Items, Image Viewer Layouts, Image Viewer Rendering and Image Viewer Interactive Modes.
this._imageViewer.beginUpdate();
var item = this._imageViewer.items.item(0);
item.isEnabled = !item.isEnabled;
alert("_imageViewer.items.item(0).isEnabled = " + item.isEnabled.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