Click or drag to resize

IDocument FindPatternInLine Method (BodyRegion, Regex)

Finds the next text which fit the specified pattern starting from start BodyRegion using single-line mode.

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

Parameters

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

Return Value

Type: TextSelection
See Also