| 
Document
FindPattern Method (BodyRegion, Regex)
  | 
 Finds the next entry of matchString pattern.
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
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
 
- 
 Type:
 
Spire.Doc
BodyRegion
 
 Search starts
- 
pattern
 
- 
 Type:
 
System.Text.RegularExpressions
Regex
 
 The pattern.
Return Value
 
 Type:
 
TextSelection
 
Implements
 
IDocument
FindPattern(BodyRegion, Regex)
 
 
 See Also
See Also