API Reference
Class
LegacyXlsCell
Represents a parsed legacy XLS cell using one-based row and column indexes.
Inheritance
- Object
- LegacyXlsCell
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property LegacyXlsWorksheet.Cells
Constructors
public LegacyXlsCell(Int32 row, Int32 column, LegacyXlsCellValueKind kind, Object value, UInt16 styleIndex, Boolean isFormula = false, String formulaText = null, IReadOnlyList<LegacyXlsTextFormattingRun> textFormattingRuns = null) #Creates a parsed legacy XLS cell.
Parameters
- row System.Int32
- One-based row index.
- column System.Int32
- One-based column index.
- kind OfficeIMO.Excel.LegacyXls.Model.LegacyXlsCellValueKind
- Cell value kind.
- value System.Object
- Parsed cell value.
- styleIndex System.UInt16
- Legacy XF style index.
- isFormula System.Boolean = false
- Whether the cell was parsed from a formula record.
- formulaText System.String = null
- Decoded formula text, when token decoding was supported.
- textFormattingRuns System.Collections.Generic.IReadOnlyList{OfficeIMO.Excel.LegacyXls.Model.LegacyXlsTextFormattingRun} = null
- Rich-text formatting runs for text cells.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Int32 Row { get; } #Gets the one-based row index.
public Int32 Column { get; } #Gets the one-based column index.
public LegacyXlsCellValueKind Kind { get; } #Gets the value kind.
public Object Value { get; } #Gets the parsed value.
public UInt16 StyleIndex { get; } #Gets the legacy XF style index associated with the cell.
public Boolean IsFormula { get; } #Gets whether this cell came from a BIFF formula record and contains its cached result.
public String FormulaText { get; } #Gets decoded formula text when the BIFF token stream was supported.
public IReadOnlyList<LegacyXlsTextFormattingRun> TextFormattingRuns { get; } #Gets rich-text formatting runs for text cells.