Class TabStop
Represents a single tab stop on a paragraph. The Position is expressed in points; Alignment and Leader mirror the Word "Tabs" dialog.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class TabStop
Constructors
TabStop()
Initializes a new instance of the TabStop class.
Declaration
public TabStop()
TabStop(double, TabAlignment)
Creates a tab stop at the given position with the given alignment.
Declaration
public TabStop(double position, TabAlignment alignment)
Parameters
| Type | Name | Description |
|---|---|---|
| double | position | Tab position in points. |
| TabAlignment | alignment | Tab alignment. |
TabStop(double, TabAlignment, TabLeader)
Creates a tab stop at the given position with the given alignment and leader.
Declaration
public TabStop(double position, TabAlignment alignment, TabLeader leader)
Parameters
| Type | Name | Description |
|---|---|---|
| double | position | Tab position in points. |
| TabAlignment | alignment | Tab alignment. |
| TabLeader | leader | Tab leader character. |
Properties
Alignment
Tab alignment. Defaults to Left.
Declaration
public TabAlignment Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TabAlignment |
Leader
Leader character drawn before the tab. Defaults to None.
Declaration
public TabLeader Leader { get; set; }
Property Value
| Type | Description |
|---|---|
| TabLeader |
Position
Tab position in points.
Declaration
public double Position { get; set; }
Property Value
| Type | Description |
|---|---|
| double |