Click or drag to resize

CellRangeFindText Method (String, Int32, Int32)

Finds the first occurrence of the specified text in the current cell range.

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

Parameters

text
Type: SystemString
Test to search.
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