Text string associated with this item.
Object.defineProperty(ImageViewerItem.prototype, 'text',
get: function(),
set: function(value)
)
text: string;
The text string associated with this item. Default value is null.
Text can be used to show a page number or file name or any other text data. Refer to Image Viewer Appearance for more information on how this text is rendered.
For more information, refer Image Viewer Items.
for (var i = 0; i < this._imageViewer.items.count; i++) {
var item = this._imageViewer.items.item(i);
item.Text = "Page " + (i + 1);
}
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