• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TabStopCollection

A collection of TabStop objects on a ParagraphFormat. Tab stops are kept in insertion order.

Inheritance
object
TabStopCollection
Implements
IEnumerable<TabStop>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class TabStopCollection : IEnumerable<TabStop>, IEnumerable

Properties

Count

Gets count.

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Gets this[int].

Declaration
public TabStop this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
TabStop

Methods

Add(TabStop)

Adds the specified item to this collection.

Declaration
public void Add(TabStop tabStop)
Parameters
Type Name Description
TabStop tabStop

The tab Stop used by the operation.

Add(double, TabAlignment)

Creates and adds a tab stop at the given position with the given alignment.

Declaration
public TabStop Add(double position, TabAlignment alignment)
Parameters
Type Name Description
double position

Tab position in points.

TabAlignment alignment

Tab alignment.

Returns
Type Description
TabStop

The created TabStop.

Add(double, TabAlignment, TabLeader)

Creates and adds a tab stop at the given position with the given alignment and leader.

Declaration
public TabStop Add(double position, TabAlignment alignment, TabLeader leader)
Parameters
Type Name Description
double position

Tab position in points.

TabAlignment alignment

Tab alignment.

TabLeader leader

Tab leader character.

Returns
Type Description
TabStop

The created TabStop.

Clear()

Provides the clear behavior for this object.

Declaration
public void Clear()

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<TabStop> GetEnumerator()
Returns
Type Description
IEnumerator<TabStop>

The resulting value.

Remove(TabStop)

Removes an item from this collection.

Declaration
public bool Remove(TabStop tabStop)
Parameters
Type Name Description
TabStop tabStop

The tab Stop used by the operation.

Returns
Type Description
bool

The resulting value.

RemoveAt(int)

Removes an item from this collection.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

The zero-based index of the item.

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX