Document
FindString Method (BodyRegion, String, Boolean, Boolean)
|
Finds the next entry of matchString string, taking into consideration caseSensitive
and wholeWord options.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public TextSelection FindString(
BodyRegion start,
string matchString,
bool caseSensitive,
bool wholeWord
)
Public Function FindString (
start As BodyRegion,
matchString As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As TextSelection
public:
virtual TextSelection^ FindString(
BodyRegion^ start,
String^ matchString,
bool caseSensitive,
bool wholeWord
) sealed
abstract FindString :
start : BodyRegion *
matchString : string *
caseSensitive : bool *
wholeWord : bool -> TextSelection
override FindString :
start : BodyRegion *
matchString : string *
caseSensitive : bool *
wholeWord : bool -> TextSelection
Parameters
-
start
-
Type:
Spire.Doc
BodyRegion
Search starts.
-
matchString
-
Type:
System
String
The string to find.
-
caseSensitive
-
Type:
System
Boolean
if it specifies case sensitive search, set to
true
.
-
wholeWord
-
Type:
System
Boolean
if it search for the whole word, set to
true
.
Return Value
Type:
TextSelection
Implements
IDocument
FindString(BodyRegion, String, Boolean, Boolean)
See Also