IDocument
FindStringInLine Method (BodyRegion, String, Boolean, Boolean)
|
Finds the next matchString text starting from specified.
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
TextSelection[] FindStringInLine(
BodyRegion startTextBodyItem,
string given,
bool caseSensitive,
bool wholeWord
)
Function FindStringInLine (
startTextBodyItem As BodyRegion,
given As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As TextSelection()
array<TextSelection^>^ FindStringInLine(
BodyRegion^ startTextBodyItem,
String^ given,
bool caseSensitive,
bool wholeWord
)
abstract FindStringInLine :
startTextBodyItem : BodyRegion *
given : string *
caseSensitive : bool *
wholeWord : bool -> TextSelection[]
Parameters
-
startTextBodyItem
-
Type:
Spire.Doc
BodyRegion
-
given
-
Type:
System
String
-
caseSensitive
-
Type:
System
Boolean
if it specifies case sensitive search, set to
true
.
-
wholeWord
-
Type:
System
Boolean
if it specifies whole word to be search, set to
true
.
Return Value
Type:
TextSelection
See Also