TextTabStopCollection
TextTabStopCollection class
Represents the list of all tab stops.
class TextTabStopCollection;
Constructors
| Name | Description |
|---|---|
| constructor() | Default Constructor. |
Methods
| Method | Description |
|---|---|
| get(number) | Gets TextTabStop by the index. |
| add(TextTabAlignmentType, number) | Adds a tab stop. |
constructor()
Default Constructor.
constructor();
get(number)
Gets TextTabStop by the index.
get(index: number) : TextTabStop;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | number | The index. |
Returns
add(TextTabAlignmentType, number)
Adds a tab stop.
add(tabAlignment: TextTabAlignmentType, tabPosition: number) : number;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| tabAlignment | TextTabAlignmentType | |
| tabPosition | number |