# OfficeTextTabAlignment

Alignment of text following a paragraph tab.

Enum 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OfficeTextTabStops.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/OfficeTextTabStops.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Alignment of text following a paragraph tab.

## Inheritance

- Enum
- OfficeTextTabAlignment

## Usage

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

- Field [OfficeTextTabAlignment.Center](/api/core/officeimo-drawing-officetexttabalignment/#field-center)
- Field [OfficeTextTabAlignment.Character](/api/core/officeimo-drawing-officetexttabalignment/#field-character)
- Field [OfficeTextTabAlignment.Left](/api/core/officeimo-drawing-officetexttabalignment/#field-left)
- Field [OfficeTextTabAlignment.Right](/api/core/officeimo-drawing-officetexttabalignment/#field-right)
- Property [OfficeTextTabStop.Alignment](/api/core/officeimo-drawing-officetexttabstop/#property-alignment)

### Accepted by parameters 1

- Constructor [OfficeTextTabStop.OfficeTextTabStop](/api/core/officeimo-drawing-officetexttabstop/#constructor-ctor-double-officeimo-drawing-officetexttabalignment-string) parameter `alignment`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OfficeTextTabAlignment Left` [#](#field-left)

[OfficeTextTabStops.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/OfficeTextTabStops.cs#L8)

The following text starts at the stop.

Value: `0`

`public const OfficeTextTabAlignment Center` [#](#field-center)

[OfficeTextTabStops.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/OfficeTextTabStops.cs#L10)

The following text is centered on the stop.

Value: `1`

`public const OfficeTextTabAlignment Right` [#](#field-right)

[OfficeTextTabStops.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/OfficeTextTabStops.cs#L12)

The following text ends at the stop.

Value: `2`

`public const OfficeTextTabAlignment Character` [#](#field-character)

[OfficeTextTabStops.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/OfficeTextTabStops.cs#L14)

The first matching character starts at the stop; an absent character aligns the end.

Value: `3`

<!-- PowerForge markdown artifact sha256:0469B5E8A5DB8D42CCD16CE335A41BE01735C859F9A2EFE9D6C3A3ABCD3EFC7F -->
