Document
FindStringInLine Method (String, Boolean, Boolean)
|
Finds the first entry of matchString text in 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(
string given,
bool caseSensitive,
bool wholeWord
)
Public Function FindStringInLine (
given As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As TextSelection()
public:
virtual array<TextSelection^>^ FindStringInLine(
String^ given,
bool caseSensitive,
bool wholeWord
) sealed
abstract FindStringInLine :
given : string *
caseSensitive : bool *
wholeWord : bool -> TextSelection[]
override FindStringInLine :
given : string *
caseSensitive : bool *
wholeWord : bool -> TextSelection[]
Parameters
-
given
-
Type:
System
String
-
caseSensitive
-
Type:
System
Boolean
if set to
true
use case sensitive search.
-
wholeWord
-
Type:
System
Boolean
if it search the whole word, set to
true
.
Return Value
Type:
TextSelection
Implements
IDocument
FindStringInLine(String, Boolean, Boolean)
See Also