Click or drag to resize

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

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

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
TextSelection FindString(
	BodyRegion startTextBodyItem,
	string given,
	bool caseSensitive,
	bool wholeWord
)

Parameters

startTextBodyItem
Type: Spire.Doc BodyRegion
given
Type: System String
caseSensitive
Type: System Boolean
if it specifies case sensitive search, set to true .
wholeWord
Type: System Boolean
if it specifies whole word to be search, set to true .

Return Value

Type: TextSelection
See Also