Click or drag to resize
CellRangeFindText Method
Finds the first occurrence of the specified text in the current cell range.

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1000
Syntax
public bool FindText(
	string text,
	bool matchCase,
	bool matchEntireCellContents,
	out int row,
	out int column
)

Parameters

text
Type: SystemString
Test to search.
matchCase
Type: SystemBoolean
to match exact case, otherwise.
matchEntireCellContents
Type: SystemBoolean
to match entire cell contents, otherwise.
row
Type: SystemInt32
Index of the row where the text was found or -1 if no text was found.
column
Type: SystemInt32
Index of the column where the text was found or -1 if no text was found.

Return Value

Type: Boolean
if text is found, otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is .
See Also