| 
IDocument
FindPatternInLine Method (BodyRegion, Regex)
  | 
 Finds the next text which fit the specified pattern starting from start BodyRegion
using 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(
	BodyRegion startBodyItem,
	Regex pattern
)
 
Function FindPatternInLine ( 
	startBodyItem As BodyRegion,
	pattern As Regex
) As TextSelection()
 
array<TextSelection^>^ FindPatternInLine(
	BodyRegion^ startBodyItem, 
	Regex^ pattern
)
 
abstract FindPatternInLine : 
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
See Also