| 
Document
FindPatternInLine Method (Regex)
  | 
 Finds the first entry of specified pattern in single-line mode.
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public TextSelection[] FindPatternInLine(
	Regex pattern
)
 
Public Function FindPatternInLine ( 
	pattern As Regex
) As TextSelection()
 
public:
virtual array<TextSelection^>^ FindPatternInLine(
	Regex^ pattern
) sealed
 
abstract FindPatternInLine : 
pattern : Regex -> TextSelection[] 
override FindPatternInLine : 
pattern : Regex -> TextSelection[] 
 
 
 
Parameters
 
- 
pattern
 
- 
 Type:
 
System.Text.RegularExpressions
Regex
 
 The pattern.
Return Value
 
 Type:
 
TextSelection
 
Implements
 
IDocument
FindPatternInLine(Regex)
 
 
 See Also
See Also