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

NameTypeAccessDescription
StopsIReadOnlyList<TabStop>ReadThe tab stop entries.
CountintReadGets the count.
IsReadOnlyboolReadGets the is read only.

Methods

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

See Also