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: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
BodyRegion
Search starts.
matchString
String
The string to find.
caseSensitive
Boolean
if it specifies case sensitive search, set to true .
wholeWord
Boolean
if it search for the whole word, set to true .

Return Value

TextSelection

Implements

IDocument..::..FindString(BodyRegion, String, Boolean, Boolean)

See Also