Back to DOM
TabStopValuesEnum
Definition
- Namespace
- DOM.Enums
- Assembly
- DOM.dll
Specifies the alignment/behaviour of a tab stop.
Remarks
Used by . The value determines how text is aligned at the tab stop — left, center, right, decimal-aligned, bar-separated, etc. Tab.TabStopType
Examples
csharp
1// 1. Clear an existing tab stop
2var tab = new Tab { TabStopType = TabStopValues.Clear };
3
csharp
1// 2. Left-aligned tab stop
2var tab = new Tab { TabStopType = TabStopValues.Left };
3
csharp
1// 3. Right-aligned with a dot leader
2var tab = new Tab { TabStopType = TabStopValues.Right, Leader = TabStopLeaderCharValues.Dot };
3
csharp
1// 4. Decimal-aligned tab stop for numeric columns
2var tab = new Tab { TabStopType = TabStopValues.Decimal };
3
Fields
Bar
Vertical bar at the tab stop position.
Center
Center-aligned text.
Clear
Clear any tab stop at this position.
Decimal
Decimal-point aligned text.
End
End-aligned text (right for LTR, left for RTL).
Left
Left-aligned text.
Num
Numbered tab stop.
Right
Right-aligned text.
Start
Start-aligned text (left for LTR, right for RTL).