Class VerticalAlignment
The vertical alignment relative to the page.
Inheritance
Namespace: IronPdf.Editing
Assembly: IronPdf.dll
Syntax
public sealed class VerticalAlignment : Enum
The VerticalAlignment enumeration in IronPDF declares vertical placement of stamps, watermarks, and overlay content relative to the page.
Part of the IronPdf.Editing namespace, it includes Top, Middle, and Bottom (3 total).
Pair with HorizontalAlignment to anchor a stamp on the canvas through the 3x3 placement grid. See Custom Watermarks for ApplyStamp and ApplyWatermark positioning patterns in C#.
Fields
Bottom
The bottom of the page.
Declaration
public const VerticalAlignment Bottom
Field Value
| Type | Description |
|---|---|
| VerticalAlignment |
Middle
The middle of the page.
Declaration
public const VerticalAlignment Middle
Field Value
| Type | Description |
|---|---|
| VerticalAlignment |
Top
The top of the page.
Declaration
public const VerticalAlignment Top
Field Value
| Type | Description |
|---|---|
| VerticalAlignment |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |