'Declaration Public Overloads Function FindText( _
ByVal searchEngineText search engine that determines which text to find and how to find the text.As TextSearchEngine, _
ByRef startIndexZero-based start position in text region.As System.Int32, _
ByVal searchUpA value indicating whether the text must be searched from current position in text region to the beginning of text region.As Boolean _
) As TextRegion
public TextRegion FindText(
TextSearchEngine searchEngine,
ref System.Int32 startIndex,
bool searchUp
)
public: TextRegion* FindText(
TextSearchEngine* searchEngine,
ref System.Int32 startIndex,
bool searchUp
)
public:
TextRegion^ FindText(
TextSearchEngine^ searchEngine,
System.Int32% startIndex,
bool searchUp
)
Parameters
- searchEngine
- Text search engine that determines which text to find and how to find the text.
- startIndex
- Zero-based start position in text region.
- searchUp
- A value indicating whether the text must be searched from current position in text region to the beginning of text region.
Return Value
TextRegion if text is found; otherwise, null.