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