# WordChartLegendFluent

The fluent methods of WordChartLegend, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordChartLegend](/api/word/officeimo-word-wordchartlegend/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- WordChartLegendFluent

Filter members 

Show inherited

## Methods

`public static WordChartLegend Chart(WordChartLegend wordChartLegend, Action<WordChart> configure)` [#](#method-chart-officeimo-word-wordchartlegend-action-officeimo-word-wordchart)

Configures [WordChartLegend.Chart](/api/word/officeimo-word-wordchartlegend/) in place: The owning chart.

Parameters

**wordChartLegend OfficeIMO.Word.WordChartLegend required**

The instance.

**configure System.Action<OfficeIMO.Word.WordChart> required**

Configures the value.

Returns

`WordChartLegend` The same instance.

`public static WordChartLegend Overlay(WordChartLegend wordChartLegend, bool value = true)` [#](#method-overlay-officeimo-word-wordchartlegend-boolean)

Sets [WordChartLegend.Overlay](/api/word/officeimo-word-wordchartlegend/): Whether the legend overlays the plot.

Parameters

**wordChartLegend OfficeIMO.Word.WordChartLegend required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`WordChartLegend` The same instance.

Examples

```csharp
// C# initializer or property       // C# fluent
wordChartLegend.Overlay = value;    wordChartLegend.Overlay(value);
```

`public static WordChartLegend Position(WordChartLegend wordChartLegend, OfficeChartLegendPosition value)` [#](#method-position-officeimo-word-wordchartlegend-officeimo-drawing-officechartlegendposition)

Sets [WordChartLegend.Position](/api/word/officeimo-word-wordchartlegend/): The legend position.

Parameters

**wordChartLegend OfficeIMO.Word.WordChartLegend required**

The instance.

**value OfficeIMO.Drawing.OfficeChartLegendPosition required**

The value.

Returns

`WordChartLegend` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
wordChartLegend.Position = value;    wordChartLegend.Position(value);
```

## 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?`

<!-- PowerForge markdown artifact sha256:03770BD61AEEE47FA4131088B6F11E30DFA5576A0F3F063F62B7F9B0147B958F -->
