Click or drag to resize

Document FindPatternInLine Method (BodyRegion, Regex)

Finds the text which fit the specified pattern starting from start. 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[] FindPatternInLine(
	BodyRegion start,
	Regex pattern
)

Parameters

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

Return Value

Type: TextSelection

Implements

IDocument FindPatternInLine(BodyRegion, Regex)
See Also