# LegacySpreadsheetCellContent

Describes a recovered source cell, including its cached value and translated formula.

Class 

`OfficeIMO.Excel.Legacy`

**Namespace**

`OfficeIMO.Excel.Legacy`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[LegacySpreadsheetContracts.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L76)

**Modifiers**

sealed

Describes a recovered source cell, including its cached value and translated formula.

## Inheritance

- object
- LegacySpreadsheetCellContent

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [LegacySpreadsheetImportResult.Cells](/api/excel/officeimo-excel-legacy-legacyspreadsheetimportresult/#property-cells)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string SheetName { get; }` [#](#property-sheetname)

[LegacySpreadsheetContracts.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L76)

Gets the projected sheet name.

`public int Row { get; }` [#](#property-row)

[LegacySpreadsheetContracts.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L78)

Gets the 1-based row.

`public int Column { get; }` [#](#property-column)

[LegacySpreadsheetContracts.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L80)

Gets the 1-based column.

`public object? CachedValue { get; }` [#](#property-cachedvalue)

[LegacySpreadsheetContracts.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L82)

Gets the finite cached value retained from the source.

`public string? Formula { get; }` [#](#property-formula)

[LegacySpreadsheetContracts.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L84)

Gets the safely translated formula, or null when cached-value fallback was required.

`public byte SourceFormat { get; }` [#](#property-sourceformat)

[LegacySpreadsheetContracts.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L86)

Gets the original format byte.

`public string? NumberFormat { get; }` [#](#property-numberformat)

[LegacySpreadsheetContracts.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L88)

Gets the mapped Excel number format.

`public string? Comment { get; }` [#](#property-comment)

[LegacySpreadsheetContracts.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L90)

Gets a recovered comment.

`public ExcelHorizontalAlignment? Alignment { get; }` [#](#property-alignment)

[LegacySpreadsheetContracts.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L92)

Gets the recovered horizontal alignment.

<!-- PowerForge markdown artifact sha256:DBE466CEB3EFDBFE79F6F1F0A8D325B2730E330D0797F3F521FA016EBF82CF45 -->
