DocumentViewerTextPosition Object

Summary

Represents a page number and character index in the document.

Syntax

JavaScript Syntax
function lt.Documents.UI.DocumentViewerTextPosition 
TypeScript Syntax
class lt.Documents.UI.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 may 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly