DocumentViewerTextItem Object

Summary

The properties of a selected item of text in the document viewer.

Syntax
TypeScript
JavaScript
function lt.Document.Viewer.DocumentViewerTextItem 
class lt.Document.Viewer.DocumentViewerTextItem() 
Remarks

DocumentViewerTextItem holds the properties of a selected item of text in the document viewer. The members of this class refer to the DocumentPageText object of the corresponding page.

The item consists of all the characters between FirstCharacterIndex and LastCharacterIndex in the corresponding DocumentPageText. This could be none, a single character, a word, a line or any other combination of text that was selected by the user.

The Bounds is the overall bounding rectangle of this item in the page. This is calculated by the document viewer from the union of the Bounds of all the characters between FirstCharacterIndex and LastCharacterIndex.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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