text Property

Summary

Text string associated with this item.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewerItem.prototype, 'text', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
text: string; 

Property Value

The text string associated with this item. Default value is null.

Remarks

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.

Example

JavaScript Example
for (var i = 0; i < this._imageViewer.items.count; i++) { 
   var item = this._imageViewer.items.item(i); 
   item.Text = "Page " + (i + 1); 
} 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly