---
title: "PdfPushButtonField"
canonical_url: "https://www.nutrient.io/api/csharp/editors/pdf/formfields/pdf-push-button-field/"
md_url: "https://www.nutrient.io/api/csharp/editors/pdf/formfields/pdf-push-button-field.md"
last_updated: "2026-10-08T08:55:57.709Z"
description: "Represents a push button form field in a PDF document. Push buttons respond immediately to user input without retaining a permanent value."
---

Represents a push button form field in a PDF document. Push buttons respond immediately to user input without retaining a permanent value. They are typically used to trigger actions like submit, reset, or JavaScript execution.

```csharp

using Nutrient;

```

**Inherits from:** [`PdfFormField`](/api/csharp/editors/pdf/formfields/pdf-form-field/)

The SDK creates this class through factory methods or other SDK objects.

## Properties

### BackgroundColor

```csharp

public Color? BackgroundColor { get; set; }

```

The background color of the button.

**Type:** [`Color?`](/api/csharp/types/color/)

### BorderColor

```csharp

public Color? BorderColor { get; set; }

```

The border color of the button.

**Type:** [`Color?`](/api/csharp/types/color/)

### Caption

```csharp

public string Caption { get; set; }

```

The caption text displayed on the button.

**Type:** `string`

### FontColor

```csharp

public Color? FontColor { get; set; }

```

The font color for the button caption text.

**Type:** [`Color?`](/api/csharp/types/color/)

### FontName

```csharp

public string FontName { get; set; }

```

The font name for the button caption text.

**Type:** `string`

### FontSize

```csharp

public float FontSize { get; set; }

```

The font size for the button caption text.

**Type:** `float`

## Resource management

```csharp

public void Dispose()

```

`PdfPushButtonField` implements `IDisposable`. Call `Dispose()` or use a C# `using` declaration to release its native handle right away. If you don't, the handle is released when the object is garbage collected.

---

## Related pages

- [Formfields](/api/csharp/editors/pdf/formfields.md)
- [Pdf Check Box Field](/api/csharp/editors/pdf/formfields/pdf-check-box-field.md)
- [Pdf Combo Box Field](/api/csharp/editors/pdf/formfields/pdf-combo-box-field.md)
- [Pdf Form Field Collection](/api/csharp/editors/pdf/formfields/pdf-form-field-collection.md)
- [Pdf Form Field](/api/csharp/editors/pdf/formfields/pdf-form-field.md)
- [Pdf List Box Field](/api/csharp/editors/pdf/formfields/pdf-list-box-field.md)
- [Pdf Radio Button Field](/api/csharp/editors/pdf/formfields/pdf-radio-button-field.md)
- [Pdf Signature Field](/api/csharp/editors/pdf/formfields/pdf-signature-field.md)
- [Pdf Text Field](/api/csharp/editors/pdf/formfields/pdf-text-field.md)

