TabStopCollection

TabStopCollection

Overview

TabStopCollection is a class in Aspose.Words FOSS for .NET. Inherits from: InternableComplexAttr, IExpandableAttr.

TabStopCollection provides methods to add, remove, and query TabStop objects by position, enabling precise tab stop management.

This class declares 12 methods for TabStopCollection objects in .NET programs. Available methods include: Add, After, Before, Clear, Equals, GetHashCode, GetIndexByPosition, GetPositionByIndex, RemoveByIndex, RemoveByPosition. Public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Count.

Properties

NameTypeAccessDescription
CountintReadGets the number of tab stops in the collection.

Methods

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

See Also

 English