VegaRise.NET
Back to TextContainer

FindMethod

Definition

Namespace
DOM.Elements.TextElements
Assembly
DOM.dll

Searches all contained elements for the specified text. Applies optional regular expression behavior, whole-word matching, and case-sensitivity. Returns the indices of the text elements that contain at least one match. IText

IText Find(string searchText, RegexOptions? regexOption, bool wholeWordOnly, bool caseSensitive)

Parameters

searchText
The text to search for. Cannot be null.
regexOption
Optional to apply. RegexOptions
wholeWordOnly
Whether the match must correspond to a whole-word boundary.
caseSensitive
Whether the search is case-sensitive.

Returns

IText

A list of indices corresponding to elements that contain a match. IText

Exceptions

  • System.ArgumentNullException: Thrown when is null. searchText
VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.