Leadtools.Controls Namespace > ImageViewerItem Object : Text Property |
get_text();
set_text(value);
Object.defineProperty('text');
Type | Description |
---|---|
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); }