TabStopCollection
Overview
TabStopCollection is a class in Aspose.Words FOSS for .NET.
Inherits from: InternableComplexAttr, IExpandableAttr.
This class provides 12 methods for working with TabStopCollection objects in .NET programs.
Available methods include: Add, After, Before, Clear, Equals, GetHashCode, GetIndexByPosition, GetPositionByIndex, RemoveByIndex, RemoveByPosition.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the number of tab stops in the collection. |
Methods
| Signature | Description |
|---|---|
Equals(rhs: TabStopCollection) | Determines whether the specified TabStopCollection is equal in value to the current TabStopCollection. |
Equals(obj: object) | Determines whether the specified object is equal in value to the current object. |
GetHashCode() | Serves as a hash function for this type. |
Clear() | Deletes all tab stop positions. |
GetPositionByIndex(index: int) | Gets the position (in points) of the tab stop at the specified index. |
GetIndexByPosition(position: double) | Gets the index of a tab stop with the specified position in points. |
Add(tabStop: TabStop) | Adds or replaces a tab stop in the collection. |
Add(position: double, alignment: TabAlignment, leader: TabLeader) | Adds or replaces a tab stop in the collection. |
RemoveByPosition(position: double) | Removes a tab stop at the specified position from the collection. |
RemoveByIndex(index: int) | Removes a tab stop at the specified index from the collection. |
After(position: double) | Gets a first tab stop to the right of the specified position. |
Before(position: double) | Gets a first tab stop to the left of the specified position. |