←Select platform

DocumentViewerTextItem Class

Summary

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

Syntax

C#
VB
C++
public class DocumentViewerTextItem
Public Class DocumentViewerTextItem
public ref class DocumentViewerTextItem

Remarks

DocumentViewerTextItem holds the 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 is 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.

Bounds is 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.

Example

For an example, refer to Find.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents.UI Assembly
Click or drag to resize