# OfficeTextTabStop

A fixed paragraph tab position, measured before render scaling.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`7fbbd72e7c5a` with working tree changes

**Source**

[OfficeTextTabStops.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L20)

**Modifiers**

sealed

A fixed paragraph tab position, measured before render scaling.

## Inheritance

- object
- OfficeTextTabStop

## Usage

Explore 5 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 4

- Method [OfficeTextTabStop.WithLeader](/api/core/officeimo-drawing-officetexttabstop/#method-withleader-string)
- Method [OfficeTextTabStop.WithLeaderStyle](/api/core/officeimo-drawing-officetexttabstop/#method-withleaderstyle-officeimo-drawing-officetexttableaderstyle)
- Method [OfficeTextTabStop.WithLineLeader](/api/core/officeimo-drawing-officetexttabstop/#method-withlineleader-officeimo-drawing-officetexttablineleader)
- Property [OfficeTextTabStops.Stops](/api/core/officeimo-drawing-officetexttabstops/#property-stops)

### Accepted by parameters 1

- Constructor [OfficeTextTabStops.OfficeTextTabStops](/api/core/officeimo-drawing-officetexttabstops/#constructor-ctor-collections-generic-ireadonlylist-officeimo-drawing-officetexttabstop-double-double) parameter `stops`

Filter members 

Show inherited

## Constructors

`public OfficeTextTabStop(double position, OfficeTextTabAlignment alignment = Left, string character = ".")` [#](#constructor-ctor-double-officeimo-drawing-officetexttabalignment-string)

[OfficeTextTabStops.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L20)

Creates a tab stop. Positions are nonnegative and the character delimiter is one Unicode scalar.

Parameters

**position double required**

**alignment OfficeIMO.Drawing.OfficeTextTabAlignment = Left optional**

**character string = "." optional**

## Methods

`public OfficeTextTabStop WithLeader(string? text)` [#](#method-withleader-string)

[OfficeTextTabStops.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L44)

Returns an independent stop with a textual leader; null removes the leader.

Parameters

**text string? required**

Returns

`OfficeTextTabStop`

`public OfficeTextTabStop WithLeaderStyle(OfficeTextTabLeaderStyle? style)` [#](#method-withleaderstyle-officeimo-drawing-officetexttableaderstyle)

[OfficeTextTabStops.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L54)

Returns an independent stop with textual formatting overrides; null removes the overrides without changing the glyph or line declarations.

Parameters

**style OfficeIMO.Drawing.OfficeTextTabLeaderStyle? required**

Returns

`OfficeTextTabStop`

`public OfficeTextTabStop WithLineLeader(OfficeTextTabLineLeader? leader)` [#](#method-withlineleader-officeimo-drawing-officetexttablineleader)

[OfficeTextTabStops.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L51)

Returns an independent stop with line paint; null removes line paint without changing a textual leader.

Parameters

**leader OfficeIMO.Drawing.OfficeTextTabLineLeader? required**

Returns

`OfficeTextTabStop`

## 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 double Position { get; }` [#](#property-position)

[OfficeTextTabStops.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L29)

Position relative to the tab settings' origin.

`public OfficeTextTabAlignment Alignment { get; }` [#](#property-alignment)

[OfficeTextTabStops.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L31)

Alignment of content up to the next tab or hard break.

`public string Character { get; }` [#](#property-character)

[OfficeTextTabStops.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L33)

Delimiter for character alignment.

`public string? LeaderText { get; private set; }` [#](#property-leadertext)

[OfficeTextTabStops.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L35)

Optional single Unicode character repeated in the tab gap.

`public OfficeTextTabLineLeader? LineLeader { get; private set; }` [#](#property-lineleader)

[OfficeTextTabStops.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L37)

Optional vector line paint. A declared [OfficeTextTabStop.LeaderText](/api/core/officeimo-drawing-officetexttabstop/) takes precedence, including SPACE.

`public OfficeTextTabLeaderStyle? LeaderStyle { get; private set; }` [#](#property-leaderstyle)

[OfficeTextTabStops.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/7fbbd72e7c5a401b9579a484b97ed0a9a426ce11/OfficeIMO.Core/OfficeTextTabStops.cs#L39)

Optional overrides for a textual leader; null uses the tab run's formatting.

<!-- PowerForge markdown artifact sha256:579FC3EE841B82F131277BAAC035582D38A6F25FE287E7858D38330E7AACB688 -->
