←Select platform

HasAnySelectedText Property

Summary

Indicates whether any pages in the document have selected text.

Syntax
C#
C++/CLI
public bool HasAnySelectedText { get; } 
public: 
   property bool HasAnySelectedText 
   { 
      bool get() 
   } 

Property Value

A read-only boolean that is true if any text is selected.

Remarks

This boolean can be used as a shortcut instead of calling HasSelectedText on each page in the document or checking that SelectedTextBegin and SelectedTextEnd are not null.

See DocumentViewerText for more information.

History

19.0.0.49
Added
Requirements

Target Platforms

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

Leadtools.Document.Viewer.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.