# OfficeChartLegendPosition

Defines OfficeIMO values corresponding to DocumentFormat.OpenXml.Drawing.Charts.LegendPositionValues.

Enum 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeOpenXmlValueTypes.Generated.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeOpenXmlValueTypes.Generated.cs#L69)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Defines OfficeIMO values corresponding to DocumentFormat.OpenXml.Drawing.Charts.LegendPositionValues.

## Inheritance

- Enum
- OfficeChartLegendPosition

## Usage

Explore 7 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 6

- Property [OfficeChartLayout.LegendPosition](/api/core/officeimo-drawing-officechartlayout/#property-legendposition)
- Field [OfficeChartLegendPosition.Bottom](/api/core/officeimo-drawing-officechartlegendposition/#field-bottom)
- Field [OfficeChartLegendPosition.Left](/api/core/officeimo-drawing-officechartlegendposition/#field-left)
- Field [OfficeChartLegendPosition.Right](/api/core/officeimo-drawing-officechartlegendposition/#field-right)
- Field [OfficeChartLegendPosition.Top](/api/core/officeimo-drawing-officechartlegendposition/#field-top)
- Field [OfficeChartLegendPosition.TopRight](/api/core/officeimo-drawing-officechartlegendposition/#field-topright)

### Accepted by parameters 1

- Constructor [OfficeChartLayout.OfficeChartLayout](/api/core/officeimo-drawing-officechartlayout/#constructor-ctor-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-string-nullable-system-double-string-nullable-system-double-nullable-system-double-nullable-system-int32-nullable-system-int32-nullable-system-int32-boolean-boolean-officeimo-drawing-officechartlegendposition-boolean-boolean-boolean-boolean-boolean-string-nullable-system-double-string-officeimo-drawing-officechartdatalabelposition-string-boolean-string-string-string-string-string-boolean-boolean-boolean-boolean-boolean-boolean-boolean-boolean-officeimo-drawing-officechartaxisticklabelposition-officeimo-drawing-officechartaxisticklabelposition-officeimo-drawing-officechartaxiscrossingposition-officeimo-drawing-officechartaxiscrossingposition-boolean-boolean-nullable-system-double-nullable-officeimo-drawing-officefontstyle-nullable-officeimo-drawing-officefontstyle-nullable-officeimo-drawing-officefontstyle-nullable-system-double-string-nullable-officeimo-drawing-officefontstyle-nullable-system-double-string-nullable-system-double-string-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-nullable-system-double-officeimo-drawing-officechartaxistickmark-officeimo-drawing-officechartaxistickmark-officeimo-drawing-officechartaxistickmark-officeimo-drawing-officechartaxistickmark) parameter `legendPosition`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OfficeChartLegendPosition Bottom` [#](#field-bottom)

[OfficeOpenXmlValueTypes.Generated.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeOpenXmlValueTypes.Generated.cs#L71)

Represents the Open XML value b.

Value: `0`

`public const OfficeChartLegendPosition TopRight` [#](#field-topright)

[OfficeOpenXmlValueTypes.Generated.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeOpenXmlValueTypes.Generated.cs#L73)

Represents the Open XML value tr.

Value: `1`

`public const OfficeChartLegendPosition Left` [#](#field-left)

[OfficeOpenXmlValueTypes.Generated.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeOpenXmlValueTypes.Generated.cs#L75)

Represents the Open XML value l.

Value: `2`

`public const OfficeChartLegendPosition Right` [#](#field-right)

[OfficeOpenXmlValueTypes.Generated.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeOpenXmlValueTypes.Generated.cs#L77)

Represents the Open XML value r.

Value: `3`

`public const OfficeChartLegendPosition Top` [#](#field-top)

[OfficeOpenXmlValueTypes.Generated.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeOpenXmlValueTypes.Generated.cs#L79)

Represents the Open XML value t.

Value: `4`

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