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).