itemTextTemplate Property

Summary

Template to use for showing the page number legend on each thumbnail item.

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

Property Value

The template to use for showing the page number legend on each thumbnail item. Default value is Page ##page##.

Remarks

The document viewer thumbnails supports showing a legend indicating the page number for each thumbnail item. The default is Page ##page##, where ##page## will be replaced with the actual page number and result in legends such as Page 1, Page 2, etc.

To modify this behavior, set itemTextTemplate to the required value. For instance, setting the value to page no.(##page##) will result in the legends such as page no.1, page no.2, etc.

To remove the legend completely set the value to null.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.