Document
FindStringInLine Method (BodyRegion, String, Boolean, Boolean)
|
Finds the next matchString text starting from specified 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[] FindStringInLine(
BodyRegion start,
string matchString,
bool caseSensitive,
bool wholeWord
)
Public Function FindStringInLine (
start As BodyRegion,
matchString As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As TextSelection()
public:
virtual array<TextSelection^>^ FindStringInLine(
BodyRegion^ start,
String^ matchString,
bool caseSensitive,
bool wholeWord
) sealed
abstract FindStringInLine :
start : BodyRegion *
matchString : string *
caseSensitive : bool *
wholeWord : bool -> TextSelection[]
override FindStringInLine :
start : BodyRegion *
matchString : string *
caseSensitive : bool *
wholeWord : bool -> TextSelection[]
Parameters
-
start
-
Type:
Spire.Doc
BodyRegion
Search start.
-
matchString
-
Type:
System
String
The matchString.
-
caseSensitive
-
Type:
System
Boolean
if it is case sensitive search, set to
true
.
-
wholeWord
-
Type:
System
Boolean
if it search for whole word, set to
true
.
Return Value
Type:
TextSelection
Implements
IDocument
FindStringInLine(BodyRegion, String, Boolean, Boolean)
See Also