Finds the first entry of matchString text in single-line mode.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
String
caseSensitive
Boolean
if set to true use case sensitive search.
wholeWord
Boolean
if it search the whole word, set to true.

Return Value

array<TextSelection>[]()[][]

Implements

IDocument..::..FindStringInLine(String, Boolean, Boolean)

See Also