API Reference

Class

LegacyXlsChartLegend

Namespace OfficeIMO.Excel.LegacyXls.Model
Assembly OfficeIMO.Excel
Modifiers sealed

Describes shallow metadata decoded from a chart Legend record.

Inheritance

  • Object
  • LegacyXlsChartLegend

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

Accepted by parameters

Properties

public UInt32 X { get; } #

Gets the legend X coordinate in SPRC units.

public UInt32 Y { get; } #

Gets the legend Y coordinate in SPRC units.

public UInt32 Width { get; } #

Gets the legend width in SPRC units.

public UInt32 Height { get; } #

Gets the legend height in SPRC units.

public Byte Spacing { get; } #

Gets the raw spacing value between legend entries.

public UInt16 Flags { get; } #

Gets the raw Legend record flag bitfield.

public Boolean AutoPosition { get; } #

Gets whether the legend position is automatic.

public Boolean AutoPositionX { get; } #

Gets whether the legend X position is automatic.

public Boolean AutoPositionY { get; } #

Gets whether the legend Y position is automatic.

public Boolean Vertical { get; } #

Gets whether legend entries are laid out in one column.

public Boolean WasDataTable { get; } #

Gets whether the legend is shown in a data table.

public Boolean HasExpectedSpacing { get; } #

Gets whether the legend-entry spacing matches the BIFF-defined value.

public Boolean HasRequiredReservedBit { get; } #

Gets whether the required reserved Legend flag bit is set.

public Boolean HasZeroReservedBits { get; } #

Gets whether the reserved high Legend flag bits are zero.

public Boolean HasValidReservedBits { get; } #

Gets whether all reserved Legend flag bits have BIFF-defined values.

public Boolean HasValidAutoPositionState { get; } #

Gets whether automatic legend positioning has matching automatic x and y positioning.

public Boolean HasValidDataTableState { get; } #

Gets whether a data-table legend is also marked vertical.