VegaRise.NET
HomeAPI Reference
Back to DOM

VerticalJustificationValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the vertical justification of page content.

Remarks

Used by and by . It determines how the content block is distributed vertically within the page's text area. PageSetup.VerticalTextAlignmentOnPage DocumentSection.VerticalTextAlignmentOnPage

Examples

csharp
1// 1. Top justification
2var v = VerticalJustificationValues.top;
3
csharp
1// 2. Center justification (title pages)
2var v = VerticalJustificationValues.center;
3
csharp
1// 3. Both (justified vertically)
2var v = VerticalJustificationValues.both;
3
csharp
1// 4. Bottom justification
2var v = VerticalJustificationValues.bottom;
3

Fields

both

Justified vertically (top and bottom).

bottom

Bottom-aligned.

center

Center-aligned.

top

Top-aligned.