Click or drag to resize

IDocument FindPattern Method (BodyRegion, Regex)

Finds the next entry of matchString pattern.

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
TextSelection FindPattern(
	BodyRegion startBodyItem,
	Regex pattern
)

Parameters

startBodyItem
Type: Spire.Doc BodyRegion
pattern
Type: System.Text.RegularExpressions Regex
The pattern.

Return Value

Type: TextSelection
See Also