Indicates whether the item is in a selected state.
Object.defineProperty(ImageViewerItem.prototype, 'isSelected',
get: function(),
set: function(value)
)
isSelected: boolean;
true if this item is in a selected state, otherwise; false. Default value is false.
Selected items (the value of IsSelected is true) may be rendered differently than non-selected items as described in Image Viewer Appearance.
Select and GetSelected can be used to select multiple items at once and get all the selected items in the viewer respectively.
ImageViewerSelectItemsInteractiveMode can be used to select items in the viewer using mouse, touch or keyboard in a manner similar to an "image list" application such as Windows Explorer in Thumbnail View.
For more information, refer Image Viewer Items.
this._imageViewer.beginUpdate();
var item = this._imageViewer.items.item(0);
item.isSelected = !item.isSelected;
alert("_imageViewer.items.item(0).isSelected = " + item.isSelected.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