# OdfTabStop

An explicit native paragraph tab stop with optional text or line paint.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OdfTabStop.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L9)

**Modifiers**

sealed

An explicit native paragraph tab stop with optional text or line paint.

## Inheritance

- object
- OdfTabStop

## Usage

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

- Method [OdfTabStop.WithLeader](/api/open-document/officeimo-opendocument-odftabstop/#method-withleader-string)
- Method [OdfTabStop.WithLeaderTextStyle](/api/open-document/officeimo-opendocument-odftabstop/#method-withleadertextstyle-officeimo-opendocument-odfstyle)
- Method [OdfTabStop.WithLineLeader](/api/open-document/officeimo-opendocument-odftabstop/#method-withlineleader-officeimo-opendocument-odftablineleader)

### Accepted by parameters 1

- Method [OdfTextParagraph.SetTabStops](/api/open-document/officeimo-opendocument-odftextparagraph/#method-settabstops-collections-generic-ireadonlylist-officeimo-opendocument-odftabstop) parameter `stops`

Filter members 

Show inherited

## Constructors

`public OdfTabStop(OdfLength position, string type = "left", string? character = null)` [#](#constructor-ctor-officeimo-opendocument-odflength-string-string)

[OdfTabStop.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L9)

Creates an absolute tab position with left, center, right or character alignment.

Parameters

**position OfficeIMO.OpenDocument.OdfLength required**

**type string = "left" optional**

**character string? = null optional**

## Methods

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

[OdfTabStop.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L34)

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

Parameters

**text string? required**

Returns

`OdfTabStop`

`public OdfTabStop WithLeaderTextStyle(OdfStyle? style)` [#](#method-withleadertextstyle-officeimo-opendocument-odfstyle)

[OdfTabStop.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L43)

Returns an independent stop bound to a text style; null clears the binding while retaining the glyph and line declarations.

Parameters

**style OfficeIMO.OpenDocument.OdfStyle? required**

Returns

`OdfTabStop`

`public OdfTabStop WithLineLeader(OdfTabLineLeader? leader)` [#](#method-withlineleader-officeimo-opendocument-odftablineleader)

[OdfTabStop.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L39)

Returns an independent stop with line declarations; null clears them without changing text paint.

Parameters

**leader OfficeIMO.OpenDocument.OdfTabLineLeader? required**

Returns

`OdfTabStop`

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

[OdfTabStop.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L20)

Absolute distance from the native paragraph tab origin.

`public string Type { get; }` [#](#property-type)

[OdfTabStop.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L22)

Native alignment token.

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

[OdfTabStop.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L24)

Character delimiter, or null for non-character stops.

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

[OdfTabStop.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L26)

Optional single Unicode character repeated in the tab gap.

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

[OdfTabStop.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L28)

Optional native line declarations. A declared [OdfTabStop.LeaderText](/api/open-document/officeimo-opendocument-odftabstop/) takes precedence.

`public OdfStyle? LeaderTextStyle { get; private set; }` [#](#property-leadertextstyle)

[OdfTabStop.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Text/OdfTabStop.cs#L30)

Referenced text style for a textual leader, or null for the active tab formatting.

<!-- PowerForge markdown artifact sha256:67659A423AAFD9C54332FE651D3FC6A8FCE8DFFBDB70179BDAF296B19EEB1382 -->
