TabStops
Overview
TabStops is a class in Aspose.PDF FOSS for .NET.
A collection of tab stop positions for text layout.
This class provides 6 methods for working with TabStops objects in .NET programs.
Available methods include: Add, Clone.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Count, IsReadOnly, Stops.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Stops | IReadOnlyList<TabStop> | Read | The tab stop entries. |
Count | int | Read | Gets the count. |
IsReadOnly | bool | Read | Gets the is read only. |
Methods
| Signature | Description |
|---|---|
Add(position: double) | Add a tab stop at the given position (in points). |
Add() | Add an unset tab stop (position 0, leader None). |
Add(position: float) | Add a tab stop at the given position. |
Add(position: float, leaderType: TabLeaderType) | Add a tab stop with a leader-character style at the given position. |
Add(tabStop: TabStop) | Append an existing tab stop. |
Clone() | Shallow clone of the collection (stops are shared by reference). |