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.

VegaRiseVDocs.NET

Create Account

Create your VDocs account.

or

Already have an account? Sign in