**Inheritance:**
java.lang.Object, java.lang.Enum < VerticalAlignment > com.aspose.pdf.VerticalAlignment, java.lang.Enum < VerticalAlignment >, com.aspose.pdf.VerticalAlignment

**All Implemented Interfaces:**
Serializable, Comparable < VerticalAlignment >

```
public enum VerticalAlignment extends Enum < VerticalAlignment >
```

Enumeration of possible vertical alignment values.

## Fields

| Field | Description |
| --- | --- |
| [Bottom](#Bottom) | Align to bottom. |
| [Center](#Center) | Center alignment. |
| [None](#None) | No alignment (use specified position). |
| [Top](#Top) | Align to top. |

## Methods

| Method | Description |
| --- | --- |
| [getValue](#getValue--) | Get number of |
| [valueOf](#valueOf-int-) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Bottom {#Bottom}
```
public static final VerticalAlignment Bottom
```

Align to bottom.

### Center {#Center}
```
public static final VerticalAlignment Center
```

Center alignment.

### None {#None}
```
public static final VerticalAlignment None
```

No alignment (use specified position).

### Top {#Top}
```
public static final VerticalAlignment Top
```

Align to top.

### getValue {#getValue--}
```
public int getValue()
```

Get number of

**Returns:**
int value of the VerticalAlignment element

### valueOf {#valueOf-int-}
```
public static VerticalAlignment valueOf(int alignmentType)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| alignmentType |  |  |

### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static VerticalAlignment [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
