# RtfTabAlignment

Alignment used by an RTF paragraph tab stop.

Enum 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfTabAlignment.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTabAlignment.cs#L6)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Alignment used by an RTF paragraph tab stop.

## Inheritance

- Enum
- RtfTabAlignment

## Usage

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

- Field [RtfTabAlignment.Bar](/api/rtf/officeimo-rtf-rtftabalignment/#field-bar)
- Field [RtfTabAlignment.Center](/api/rtf/officeimo-rtf-rtftabalignment/#field-center)
- Field [RtfTabAlignment.Decimal](/api/rtf/officeimo-rtf-rtftabalignment/#field-decimal)
- Field [RtfTabAlignment.Left](/api/rtf/officeimo-rtf-rtftabalignment/#field-left)
- Field [RtfTabAlignment.Right](/api/rtf/officeimo-rtf-rtftabalignment/#field-right)
- Property [RtfTabStop.Alignment](/api/rtf/officeimo-rtf-rtftabstop/#property-alignment)

### Accepted by parameters 4

- Method [RtfParagraph.AddTabStop](/api/rtf/officeimo-rtf-rtfparagraph/#method-addtabstop-int32-officeimo-rtf-rtftabalignment-officeimo-rtf-rtftableader) parameter `alignment`
- Method [RtfStyle.AddTabStop](/api/rtf/officeimo-rtf-rtfstyle/#method-addtabstop-int32-officeimo-rtf-rtftabalignment-officeimo-rtf-rtftableader) parameter `alignment`
- Constructor [RtfTabStop.RtfTabStop](/api/rtf/officeimo-rtf-rtftabstop/#constructor-ctor-int32-officeimo-rtf-rtftabalignment-officeimo-rtf-rtftableader) parameter `alignment`
- Method [RtfTabStop.SetAlignment](/api/rtf/officeimo-rtf-rtftabstop/#method-setalignment-officeimo-rtf-rtftabalignment) 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 RtfTabAlignment Left` [#](#field-left)

[RtfTabAlignment.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTabAlignment.cs#L8)

Left-aligned tab stop.

Value: `0`

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

[RtfTabAlignment.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTabAlignment.cs#L11)

Centered tab stop.

Value: `1`

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

[RtfTabAlignment.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTabAlignment.cs#L14)

Right-aligned tab stop.

Value: `2`

`public const RtfTabAlignment Decimal` [#](#field-decimal)

[RtfTabAlignment.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTabAlignment.cs#L17)

Decimal-aligned tab stop.

Value: `3`

`public const RtfTabAlignment Bar` [#](#field-bar)

[RtfTabAlignment.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfTabAlignment.cs#L20)

Vertical bar tab stop.

Value: `4`

<!-- PowerForge markdown artifact sha256:02E322C61BAE92A4642D219E2055E92A463D988AC36A21F86A8323E0B18BCF73 -->
