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
)
Public Function FindPatternInLine (
start As BodyRegion,
pattern As Regex
) As TextSelection()
public:
virtual array<TextSelection^>^ FindPatternInLine(
BodyRegion^ start,
Regex^ pattern
) sealed
abstract FindPatternInLine :
start : BodyRegion *
pattern : Regex -> TextSelection[]
override FindPatternInLine :
start : BodyRegion *
pattern : Regex -> TextSelection[]
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