# OfficeTextTabLineLeader

Immutable vector paint settings for a tab leader.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`c550045a66f7` with working tree changes

**Source**

[OfficeTextTabLineLeader.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/c550045a66f7224f15751cd24ac867d852a33e34/OfficeIMO.Core/OfficeTextTabLineLeader.cs#L34)

**Modifiers**

sealed

Immutable vector paint settings for a tab leader.

## Inheritance

- object
- OfficeTextTabLineLeader

## Usage

Explore 2 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 [OfficeTextTabStop.LineLeader](/api/core/officeimo-drawing-officetexttabstop/#property-lineleader)

### Accepted by parameters 1

- Method [OfficeTextTabStop.WithLineLeader](/api/core/officeimo-drawing-officetexttabstop/#method-withlineleader-officeimo-drawing-officetexttablineleader) parameter `leader`

Filter members 

Show inherited

## Constructors

`public OfficeTextTabLineLeader(OfficeTextTabLineLeaderStyle style = Solid, bool doubleLine = false, OfficeLength? width = null, double widthFontFraction = 0.05, OfficeColor? color = null)` [#](#constructor-ctor-officeimo-drawing-officetexttablineleaderstyle-boolean-nullable-officeimo-officelength-double-nullable-officeimo-officecolor)

[OfficeTextTabLineLeader.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/c550045a66f7224f15751cd24ac867d852a33e34/OfficeIMO.Core/OfficeTextTabLineLeader.cs#L34)

Creates line paint with an absolute width or a fraction of the active rendered font size.

Parameters

**style OfficeIMO.Drawing.OfficeTextTabLineLeaderStyle = Solid optional**

Pattern drawn within the gap.

**doubleLine bool = false optional**

Draw two parallel copies of the pattern.

**width OfficeIMO.OfficeLength? = null optional**

Positive absolute width before drawing scale; null uses widthFontFraction.

**widthFontFraction double = 0.05 optional**

Positive fraction of the active rendered font size; the default is 0.05.

**color OfficeIMO.OfficeColor? = null optional**

Paint color; null uses the tab's active text color.

## 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 OfficeTextTabLineLeaderStyle Style { get; }` [#](#property-style)

[OfficeTextTabLineLeader.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/c550045a66f7224f15751cd24ac867d852a33e34/OfficeIMO.Core/OfficeTextTabLineLeader.cs#L42)

Pattern drawn in the gap.

`public bool DoubleLine { get; }` [#](#property-doubleline)

[OfficeTextTabLineLeader.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/c550045a66f7224f15751cd24ac867d852a33e34/OfficeIMO.Core/OfficeTextTabLineLeader.cs#L44)

Whether two parallel copies are drawn.

`public OfficeLength? Width { get; }` [#](#property-width)

[OfficeTextTabLineLeader.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/c550045a66f7224f15751cd24ac867d852a33e34/OfficeIMO.Core/OfficeTextTabLineLeader.cs#L46)

Absolute width before drawing scale, or null for a font-relative width.

`public double WidthFontFraction { get; }` [#](#property-widthfontfraction)

[OfficeTextTabLineLeader.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/c550045a66f7224f15751cd24ac867d852a33e34/OfficeIMO.Core/OfficeTextTabLineLeader.cs#L48)

Width as a fraction of the active rendered font size when no absolute width is supplied.

`public OfficeColor? Color { get; }` [#](#property-color)

[OfficeTextTabLineLeader.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/c550045a66f7224f15751cd24ac867d852a33e34/OfficeIMO.Core/OfficeTextTabLineLeader.cs#L50)

Explicit paint color, or null for the active text color.

<!-- PowerForge markdown artifact sha256:6220DD6BDCA059732D7700A0BDD04800961DD02B9674C852C311903DC232E546 -->
