←Select platform

SelectedTextBegin Property

Summary

The beginning position of any selected text in the document.

Syntax
C#
VB
C++
public DocumentViewerTextPosition SelectedTextBegin { get; } 
Public ReadOnly Property SelectedTextBegin() As DocumentViewerTextPosition 
   Get 
public:  
   property DocumentViewerTextPosition^ SelectedTextBegin 
   { 
      DocumentViewerTextPosition^ get() 
   } 

Property Value

A DocumentViewerTextPosition object indicating the beginning of selected text, or null if no text is selected.

Remarks

When HasAnySelectedText is true, SelectedTextBegin will contain the page number and character index of the first character in the document that is selected. SelectedTextEnd will contain the page number and character index of the last character in the document that is selected.

ClearSelection can be used to clear selected text on pages.

History

19.0.0.49
Added
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.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.