←Select platform

WholeWordsOnly Property

Summary

Indicates whether to match the whole word when searching for text.

Syntax
C#
VB
C++
public bool WholeWordsOnly { get; set; } 
Public Property WholeWordsOnly() As Boolean 
   Get 
   Set 
public: 
   property bool WholeWordsOnly 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to match the whole word when searching for text; otherwise, false. Default value is false.

Remarks

When WholeWordsOnly is false, then the Text "ell" is a match if the page contains "Hello". It is not a match when WholeWordsOnly is true.

Example

For an example, refer to DocumentViewerText.Find.

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