Finds the next entry of matchString pattern.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public TextSelection FindPattern(
	BodyRegion start,
	Regex pattern
)
Public Function FindPattern ( 
	start As BodyRegion,
	pattern As Regex
) As TextSelection
public:
virtual TextSelection^ FindPattern(
	BodyRegion^ start, 
	Regex^ pattern
) sealed
abstract FindPattern : 
        start : BodyRegion * 
        pattern : Regex -> TextSelection 
override FindPattern : 
        start : BodyRegion * 
        pattern : Regex -> TextSelection 

Parameters

start
BodyRegion
Search starts
pattern
Regex
The pattern.

Return Value

TextSelection

Implements

IDocument..::..FindPattern(BodyRegion, Regex)

See Also