# PdfTabAlignment

Text alignment or a stationary rule declared at a paragraph tab stop.

Enum 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfTabAlignment.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTabAlignment.cs#L6)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Text alignment or a stationary rule declared at a paragraph tab stop.

## Inheritance

- Enum
- PdfTabAlignment

## Usage

Explore 13 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 7

- Field [PdfTabAlignment.Bar](/api/pdf/officeimo-pdf-pdftabalignment/#field-bar)
- Field [PdfTabAlignment.Center](/api/pdf/officeimo-pdf-pdftabalignment/#field-center)
- Field [PdfTabAlignment.DecimalSeparator](/api/pdf/officeimo-pdf-pdftabalignment/#field-decimalseparator)
- Field [PdfTabAlignment.Left](/api/pdf/officeimo-pdf-pdftabalignment/#field-left)
- Field [PdfTabAlignment.Right](/api/pdf/officeimo-pdf-pdftabalignment/#field-right)
- Property [PdfTabStop.Alignment](/api/pdf/officeimo-pdf-pdftabstop/#property-alignment)
- Property [PdfTextRun.TabAlignment](/api/pdf/officeimo-pdf-pdftextrun/#property-tabalignment)

### Accepted by parameters 6

- Method [PdfHeadingStyle.AddTabStop](/api/pdf/officeimo-pdf-pdfheadingstyle/#method-addtabstop-officeimo-officelength-officeimo-pdf-pdftabalignment-officeimo-pdf-pdftableaderstyle) parameter `alignment`
- Method [PdfParagraph.AddTab](/api/pdf/officeimo-pdf-pdfparagraph/#method-addtab-officeimo-pdf-pdftableaderstyle-officeimo-pdf-pdftabalignment) parameter `alignment`
- Method [PdfParagraphStyle.AddTabStop](/api/pdf/officeimo-pdf-pdfparagraphstyle/#method-addtabstop-officeimo-officelength-officeimo-pdf-pdftabalignment-officeimo-pdf-pdftableaderstyle) parameter `alignment`
- Constructor [PdfTabStop.PdfTabStop](/api/pdf/officeimo-pdf-pdftabstop/#constructor-ctor-officeimo-officelength-officeimo-pdf-pdftabalignment-officeimo-pdf-pdftableaderstyle) parameter `alignment`
- Constructor [PdfTextRun.PdfTextRun](/api/pdf/officeimo-pdf-pdftextrun/#constructor-ctor-string-boolean-boolean-nullable-officeimo-officecolor-boolean-boolean-nullable-officeimo-officelength-nullable-officeimo-pdf-pdfstandardfont-string-string-officeimo-pdf-pdftextbaseline-string-officeimo-pdf-pdftableaderstyle-officeimo-pdf-pdftabalignment-nullable-officeimo-officecolor-string-officeimo-drawing-officetextdecorationstyle-officeimo-drawing-officetextdecorationstyle-nullable-officeimo-officecolor) parameter `tabAlignment`
- Method [PdfTextRun.Tab](/api/pdf/officeimo-pdf-pdftextrun/#method-tab-officeimo-pdf-pdftableaderstyle-officeimo-pdf-pdftabalignment) 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 PdfTabAlignment Left` [#](#field-left)

[PdfTabAlignment.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTabAlignment.cs#L8)

The following text starts at the tab stop.

Value: `0`

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

[PdfTabAlignment.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTabAlignment.cs#L10)

The following text ends at the tab stop.

Value: `1`

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

[PdfTabAlignment.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTabAlignment.cs#L12)

The following text is centered on the tab stop.

Value: `2`

`public const PdfTabAlignment DecimalSeparator` [#](#field-decimalseparator)

[PdfTabAlignment.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTabAlignment.cs#L14)

The following text's decimal separator is aligned to the tab stop.

Value: `3`

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

[PdfTabAlignment.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTabAlignment.cs#L17)

Draws a stationary vertical rule on each paragraph line without positioning text.

Value: `4`

<!-- PowerForge markdown artifact sha256:8BAF767EC58023C9476333D16E428FE88B810AF5C0D8C50AFE364585A171A6D5 -->
