Click or drag to resize

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

Finds the next matchString text starting from specified using single-line mode.

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

Parameters

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

Return Value

Type: TextSelection

Implements

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