# WordLineFluent

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

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordLine](/api/word/officeimo-word-wordline/), 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
- WordLineFluent

Filter members 

Show inherited

## Methods

`public static TSelf Color<TSelf>(TSelf wordLine, OfficeColor value)` [#](#method-color-officeimo-officecolor)

Sets [WordLine.Color](/api/word/officeimo-word-wordline/): Gets or sets the stroke color using OfficeColor.

Type Parameters

**TSelf**

Parameters

**wordLine TSelf required**

The instance.

**value OfficeIMO.OfficeColor required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordLine.Color = value;          wordLine.Color(value);
```

`public static TSelf StrokeWeight<TSelf>(TSelf wordLine, OfficeLength value)` [#](#method-strokeweight-officeimo-officelength)

Sets [WordLine.StrokeWeight](/api/word/officeimo-word-wordline/): Gets or sets the physical stroke thickness.

Type Parameters

**TSelf**

Parameters

**wordLine TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
wordLine.StrokeWeight = value;    wordLine.StrokeWeight(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:8446883DD77711106E1E26ADB2E9AB0E1E7CC81B078B1822CB077E98A48F469D -->
