Click or drag to resize

Document FindString Method (BodyRegion, String, Boolean, Boolean)

Finds the next entry of matchString string, taking into consideration caseSensitive and wholeWord options.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public TextSelection FindString(
	BodyRegion start,
	string matchString,
	bool caseSensitive,
	bool wholeWord
)

Parameters

start
Type: Spire.Doc BodyRegion
Search starts.
matchString
Type: System String
The string to find.
caseSensitive
Type: System Boolean
if it specifies case sensitive search, set to true .
wholeWord
Type: System Boolean
if it search for the whole word, set to true .

Return Value

Type: TextSelection

Implements

IDocument FindString(BodyRegion, String, Boolean, Boolean)
See Also