OfficeTextArea.FindText(String, TextSearchOptions) Method
Searches the document (including all shapes, notes, and tables) for all occurrences of the specified text, using the provided search options.
Namespace: DevExpress.Docs.Office
Assembly: DevExpress.Docs.Core.v26.1.dll
NuGet Package: DevExpress.Docs.Core
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | Text to find. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| options | TextSearchOptions | null | Options for the text search. |
Returns
| Type | Description |
|---|---|
| IList<TextRange> | A list of text ranges that are occurrences of the specified text. |
See Also