DocumentViewerTextPosition Object

Summary

Represents a page number and character index in the document.

Syntax
TypeScript
JavaScript
function lt.Document.Viewer.DocumentViewerTextPosition 
class lt.Document.Viewer.DocumentViewerTextPosition() 

Remarks

DocumentViewerTextPosition contains data for identifying a single character in the document. Character indices represent the character itself, not the space between characters where a cursor can be. A value of -1 for CharacterIndex can represent the end of a page when DocumentPageText is null for a DocumentPage, indicating the text has not yet been retrieved. Methods such as DocumentViewerText.Find will internally translate the -1 into the last character index of the page when possible.

To represent a text selection, see DocumentViewerTextItem or DocumentViewerMultiLineTextItem.

History

19.0.0.49
Added

Requirements

Target Platforms

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

Leadtools.Document.Viewer Assembly