---
title: "TabStops.Add"
url: "https://reference.aspose.com/pdf/net/aspose.pdf.text/tabstops/add/"
product: "Aspose.PDF for .NET API Reference"
description: "TabStops method. Initializes a new instance of the TabStop class and add it to the TabStops collection"
---

## Add() {#add}

Initializes a new instance of the [`TabStop`](../../tabstop/) class and add it to the TabStops collection.

```csharp
public TabStop Add()
```

### Return Value

The new [`TabStop`](../../tabstop/) object.

### See Also

* class [TabStop](../../tabstop/)
* class [TabStops](../)
* namespace [Aspose.Pdf.Text](../../../aspose.pdf.text/)
* assembly [Aspose.PDF](../../../)

---

## Add(float) {#add_1}

Initializes a new instance of the [`TabStop`](../../tabstop/) class with specified position and add it to the TabStops collection.

```csharp
public TabStop Add(float position)
```

| Parameter | Type | Description |
| --- | --- | --- |
| position | Single | The position of the tab stop. |

### Return Value

The new [`TabStop`](../../tabstop/) object.

### See Also

* class [TabStop](../../tabstop/)
* class [TabStops](../)
* namespace [Aspose.Pdf.Text](../../../aspose.pdf.text/)
* assembly [Aspose.PDF](../../../)

---

## Add(TabStop) {#add_3}

Add instance of the [`TabStop`](../../tabstop/) class to the TabStops collection.

```csharp
public void Add(TabStop tabStop)
```

| Parameter | Type | Description |
| --- | --- | --- |
| tabStop | TabStop | The [`TabStop`](../../tabstop/) object. |

### See Also

* class [TabStop](../../tabstop/)
* class [TabStops](../)
* namespace [Aspose.Pdf.Text](../../../aspose.pdf.text/)
* assembly [Aspose.PDF](../../../)

---

## Add(float, TabLeaderType) {#add_2}

Initializes a new instance of the [`TabStop`](../../tabstop/) class with specified position and leader type and add it to the TabStops collection.

```csharp
public TabStop Add(float position, TabLeaderType leaderType)
```

| Parameter | Type | Description |
| --- | --- | --- |
| position | Single | The position of the tab stop. |
| leaderType | TabLeaderType | The leader type of the tab stop. |

### Return Value

The new [`TabStop`](../../tabstop/) object.

### See Also

* class [TabStop](../../tabstop/)
* enum [TabLeaderType](../../tableadertype/)
* class [TabStops](../)
* namespace [Aspose.Pdf.Text](../../../aspose.pdf.text/)
* assembly [Aspose.PDF](../../../)


