# LegacyXlsChartSheet

Describes a legacy XLS chart sheet decoded from a BIFF chart-sheet substream.

Class 

`OfficeIMO.Excel.LegacyXls.Model`

**Namespace**

`OfficeIMO.Excel.LegacyXls.Model`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[LegacyXlsChartSheet.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L6)

**Modifiers**

sealed

Describes a legacy XLS chart sheet decoded from a BIFF chart-sheet substream.

## Inheritance

- object
- LegacyXlsChartSheet

## 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 [ExcelDocument.LegacyXlsChartSheets](/api/excel/officeimo-excel-exceldocument/#property-legacyxlschartsheets)

Filter members 

Show inherited

## Constructors

`public LegacyXlsChartSheet(string name, int streamOffset, byte visibility, byte sheetType)` [#](#constructor-ctor-string-int32-byte-byte)

[LegacyXlsChartSheet.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L6)

Creates chart-sheet metadata.

Parameters

**name string required**

Sheet name from the BoundSheet8 record.

**streamOffset int required**

Byte offset of the chart-sheet substream in the BIFF workbook stream.

**visibility byte required**

Legacy sheet visibility flag.

**sheetType byte required**

Legacy BoundSheet8 sheet type flag.

## 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 Name { get; }` [#](#property-name)

[LegacyXlsChartSheet.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L32)

Gets the chart-sheet name from the BoundSheet8 record.

`public int StreamOffset { get; }` [#](#property-streamoffset)

[LegacyXlsChartSheet.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L37)

Gets the byte offset of the chart-sheet substream in the BIFF workbook stream.

`public byte Visibility { get; }` [#](#property-visibility)

[LegacyXlsChartSheet.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L42)

Gets the legacy visibility flag.

`public LegacyXlsSheetVisibility? VisibilityKind { get; }` [#](#property-visibilitykind)

[LegacyXlsChartSheet.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L47)

Gets the decoded sheet visibility state, when the BoundSheet value is recognized.

`public string VisibilityName { get; }` [#](#property-visibilityname)

[LegacyXlsChartSheet.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L52)

Gets the decoded sheet visibility state name, or a hexadecimal fallback for unknown values.

`public byte SheetType { get; }` [#](#property-sheettype)

[LegacyXlsChartSheet.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L57)

Gets the legacy BoundSheet8 sheet type flag.

`public IReadOnlyList<LegacyXlsChartSheetMetadataRecord> MetadataRecords { get; }` [#](#property-metadatarecords)

[LegacyXlsChartSheet.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L62)

Gets decoded metadata records from this chart-sheet substream.

`public IReadOnlyList<LegacyXlsSheetFutureMetadataRecord> FutureMetadataRecords { get; }` [#](#property-futuremetadatarecords)

[LegacyXlsChartSheet.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L67)

Gets extended metadata records decoded from this chart-sheet substream.

`public ushort? ChartPrintSize { get; private set; }` [#](#property-chartprintsize)

[LegacyXlsChartSheet.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L72)

Gets the chart printed-size mode from a PrintSize record, when present.

`public LegacyXlsChartPrintSize? ChartPrintSizeKind { get; }` [#](#property-chartprintsizekind)

[LegacyXlsChartSheet.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L79)

Gets the decoded chart printed-size mode, when the PrintSize value is recognized.

`public string? ChartPrintSizeName { get; }` [#](#property-chartprintsizename)

[LegacyXlsChartSheet.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L94)

Gets the decoded chart printed-size mode name, or a hexadecimal fallback for unknown values.

`public int ChartTextObjectCount { get; private set; }` [#](#property-charttextobjectcount)

[LegacyXlsChartSheet.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L106)

Gets the number of chart text object records seen in this chart-sheet substream.

`public int ChartRecordCount { get; private set; }` [#](#property-chartrecordcount)

[LegacyXlsChartSheet.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L111)

Gets the number of supported chart records seen in this chart-sheet substream.

`public IReadOnlyDictionary<LegacyXlsChartRecordKind, int> ChartRecordsByKind { get; }` [#](#property-chartrecordsbykind)

[LegacyXlsChartSheet.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L116)

Gets chart records from this chart sheet grouped by shallow category.

`public IReadOnlyDictionary<string, int> ChartRecordsByChartType { get; }` [#](#property-chartrecordsbycharttype)

[LegacyXlsChartSheet.cs:121](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Excel/LegacyXls/Model/LegacyXlsChartSheet.cs#L121)

Gets chart type records from this chart sheet grouped by decoded chart family.

<!-- PowerForge markdown artifact sha256:4197003F5057D5B96CDBAEA81D676A009B83011B8555C6C46B3F4E094209DF87 -->
