# OdfTextAreaVerticalAlignment

Native vertical placement of text inside an OpenDocument shape.

Enum 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OdfTextAreaVerticalAlignment.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Drawing/OdfTextAreaVerticalAlignment.cs#L4)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Native vertical placement of text inside an OpenDocument shape.

## Inheritance

- Enum
- OdfTextAreaVerticalAlignment

## Usage

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

- Property [OdfShape.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odfshape/#property-textverticalalignment)
- Field [OdfTextAreaVerticalAlignment.Bottom](/api/open-document/officeimo-opendocument-odftextareaverticalalignment/#field-bottom)
- Field [OdfTextAreaVerticalAlignment.Justify](/api/open-document/officeimo-opendocument-odftextareaverticalalignment/#field-justify)
- Field [OdfTextAreaVerticalAlignment.Middle](/api/open-document/officeimo-opendocument-odftextareaverticalalignment/#field-middle)
- Field [OdfTextAreaVerticalAlignment.Top](/api/open-document/officeimo-opendocument-odftextareaverticalalignment/#field-top)
- Property [OdgShape.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odgshape/#property-textverticalalignment)
- Property [OdpEllipse.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odpellipse/#property-textverticalalignment)
- Property [OdpGroup.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odpgroup/#property-textverticalalignment)
- Property [OdpImage.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odpimage/#property-textverticalalignment)
- Property [OdpLine.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odpline/#property-textverticalalignment)
- Property [OdpRectangle.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odprectangle/#property-textverticalalignment)
- Property [OdpShape.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odpshape/#property-textverticalalignment)
- Property [OdpTable.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odptable/#property-textverticalalignment)
- Property [OdpTextBox.TextVerticalAlignment](/api/open-document/officeimo-opendocument-odptextbox/#property-textverticalalignment)

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 OdfTextAreaVerticalAlignment Top` [#](#field-top)

[OdfTextAreaVerticalAlignment.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Drawing/OdfTextAreaVerticalAlignment.cs#L6)

Aligns the text area with the top of the shape's text frame.

Value: `0`

`public const OdfTextAreaVerticalAlignment Middle` [#](#field-middle)

[OdfTextAreaVerticalAlignment.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Drawing/OdfTextAreaVerticalAlignment.cs#L8)

Centers the text area vertically in the shape's text frame.

Value: `1`

`public const OdfTextAreaVerticalAlignment Bottom` [#](#field-bottom)

[OdfTextAreaVerticalAlignment.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Drawing/OdfTextAreaVerticalAlignment.cs#L10)

Aligns the text area with the bottom of the shape's text frame.

Value: `2`

`public const OdfTextAreaVerticalAlignment Justify` [#](#field-justify)

[OdfTextAreaVerticalAlignment.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.OpenDocument/Drawing/OdfTextAreaVerticalAlignment.cs#L12)

Distributes the text vertically across the frame; shared drawing projection does not reproduce this native mode.

Value: `3`

<!-- PowerForge markdown artifact sha256:42EF1ED09CEACAE0261F6361236F6E306DAA9EE59F1F35BB9CC1E22C18B2DAB1 -->
