←Select platform

DocumentViewerTextPosition Class

Summary

Represents a page number and character index in the document.

Syntax
C#
VB
C++
public class DocumentViewerTextPosition 
Public Class DocumentViewerTextPosition 
public: 
   ref class 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 21.0.2020.9.23
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly