Version

GetCellText(Int32,TextFormatMode) Method

Gets the text in the cell at the specified index.
Syntax
public string GetCellText( 
   int columnIndex,
   TextFormatMode textFormatMode
)

Parameters

columnIndex
The 0-based index of the cell within the WorksheetRow.
textFormatMode
The format mode to use when getting the cell text.
Exceptions
ExceptionDescription
Infragistics.Documents.Excel.MockClasses.InvalidEnumArgumentExceptiontextFormatMode is not defined in the TextFormatMode enumeration.
System.InvalidOperationExceptionIf the row was removed from the worksheet.
Remarks

The text is based on the value of the cell and the format string applied to the cell.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also