Paragraph
Find Method (String, Boolean, Boolean)
|
Returns first entry of matchString string, taking into consideration caseSensitive
and wholeWord options.
Namespace:
Spire.Doc.Documents
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public TextSelection Find(
string given,
bool caseSensitive,
bool wholeWord
)
Public Function Find (
given As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As TextSelection
public:
TextSelection^ Find(
String^ given,
bool caseSensitive,
bool wholeWord
)
member Find :
given : string *
caseSensitive : bool *
wholeWord : bool -> TextSelection
Parameters
-
given
-
Type:
System
String
-
caseSensitive
-
Type:
System
Boolean
if it is case sensitive, set to
true
.
-
wholeWord
-
Type:
System
Boolean
if it specifies to search a whole word, set to
true
.
Return Value
Type:
TextSelection
See Also