VegaRise.NET
Back to DOM

HorizontalAlignmentValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the horizontal alignment of an element, including inside/outside for facing-page layouts.

Remarks

The and values are meaningful for facing-page layouts (books, magazines) and mirror automatically based on the page parity. Inside Outside

Examples

csharp
1// 1. Left align
2var a = HorizontalAlignmentValues.Left;
3
csharp
1// 2. Center align
2var a = HorizontalAlignmentValues.Center;
3
csharp
1// 3. Mirror page numbers to the outside corners
2var pn = new PageNumber { Alignment = HorizontalAlignmentValues.Outside };
3
csharp
1// 4. Right align for RTL locales
2var a = HorizontalAlignmentValues.Right;
3

Fields

Center

Center horizontally.

Inside

Align to the inside edge of facing pages.

Left

Align to the left.

Outside

Align to the outside edge of facing pages.

Right

Align to the right.

VegaRiseVDocs.NET

Create Account

Create your VDocs account.

or

Already have an account? Sign in