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
)
Function FindPattern (
startBodyItem As BodyRegion,
pattern As Regex
) As TextSelection
TextSelection^ FindPattern(
BodyRegion^ startBodyItem,
Regex^ pattern
)
abstract FindPattern :
startBodyItem : BodyRegion *
pattern : Regex -> TextSelection
Parameters
-
startBodyItem
-
Type:
Spire.Doc
BodyRegion
-
pattern
-
Type:
System.Text.RegularExpressions
Regex
The pattern.
Return Value
Type:
TextSelection
See Also