VegaRise.NET
Back to DOM

TableJustificationValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the horizontal alignment of a table within its containing area.

Remarks

Used by and applies to the table as a whole. For per-cell alignment use instead. TableStyle.Justification JustificationValues

Examples

csharp
1// 1. Left-align the table
2var style = new TableStyle { Justification = TableJustificationValues.left };
3
csharp
1// 2. Center the table
2var style = new TableStyle { Justification = TableJustificationValues.center };
3
csharp
1// 3. Right-align the table
2var style = new TableStyle { Justification = TableJustificationValues.right };
3
csharp
1// 4. Center a floating table
2var style = new TableStyle
3{
4 Justification = TableJustificationValues.center,
5 PlacementPosition = new PlacementPosition { HorizantalAlignment = HorizontalAlignmentValues.Center }
6};
7

Fields

center

Center the table horizontally.

left

Align the table to the left of its container.

right

Align the table to the right of its container.

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.