FormattedDocument.FindText
Syntax:
Parameters:
<Line> (required)
Required text.
<Beginning> (optional)
Bookmark indicated the beginning of the search range. If this parameter is not specified, search will be performed from the beginning of the formatted document.
<End> (optional)
Bookmark indicates the end of the search range. If this parameter is not specified, search will be performed to the end of the formatted document.
<SearchForward> (optional)
You can use it to define search direction: True - search forward; False - search backward.
Default value: True.
<IgnoreCase> (optional)
Case sensitivity.
True - don't match case, False - match case by search.
Default value: True.
Returned value:
FormattedDocumentRange - contains bookmarks for the beginning and end of the nearest text found.
If text is not found, returns Undefined.
Description:
Availability: