## AddOption(string) {#addoption}

Adds new checkbox into a checkbox group, in which at most one of the checkboxes may be checked at any time. The new checkbox is added to the bottom of the group.

```csharp
public void AddOption(string optionName)
```

| Parameter | Type | Description |
| --- | --- | --- |
| optionName | String | Value of the option represented by added checkbox. |

### See Also

* class [CheckboxField](../)
* namespace [Aspose.Pdf.Forms](../../../aspose.pdf.forms/)
* assembly [Aspose.PDF](../../../)

---

## AddOption(string, Rectangle) {#addoption_1}

Adds new checkbox into a checkbox group, in which at most one of the checkboxes may be checked at any time.

```csharp
public void AddOption(string optionName, Rectangle rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| optionName | String | Value of the option represented by added checkbox. |
| rect | Rectangle | Rectangle of the added checkbox. |

### See Also

* class [Rectangle](../../../aspose.pdf/rectangle/)
* class [CheckboxField](../)
* namespace [Aspose.Pdf.Forms](../../../aspose.pdf.forms/)
* assembly [Aspose.PDF](../../../)

---

## AddOption(string, int, Rectangle) {#addoption_2}

Adds new checkbox into a checkbox group, in which at most one of the checkboxes may be checked at any time.

```csharp
public void AddOption(string optionName, int page, Rectangle rect)
```

| Parameter | Type | Description |
| --- | --- | --- |
| optionName | String | Value of the option represented by added checkbox. |
| page | Int32 | Number of the page where the added checkbox should be placed. |
| rect | Rectangle | Rectangle of the added checkbox on the page. |

### See Also

* class [Rectangle](../../../aspose.pdf/rectangle/)
* class [CheckboxField](../)
* namespace [Aspose.Pdf.Forms](../../../aspose.pdf.forms/)
* assembly [Aspose.PDF](../../../)


