VegaRise.NET
Back to DOM

TableVerticalAlignmentValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the vertical alignment of content inside a table cell.

Remarks

Examples

csharp
1// 1. Top-aligned cell content
2var s = new TableCellStyle { VerticalAlignment = TableVerticalAlignmentValues.Top };
3
csharp
1// 2. Center-aligned cell content
2var s = new TableCellStyle { VerticalAlignment = TableVerticalAlignmentValues.Center };
3
csharp
1// 3. Bottom-aligned cell content
2var s = new TableCellStyle { VerticalAlignment = TableVerticalAlignmentValues.Bottom };
3
csharp
1// 4. Center all header cells
2table[0, 0].Style = new TableCellStyle { VerticalAlignment = TableVerticalAlignmentValues.Center };
3

Fields

Bottom

Bottom-aligned.

Center

Center-aligned.

Top

Top-aligned.

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.