---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/radiobuttonoptionfield
---

# RadioButtonOptionField

## Overview

`RadioButtonOptionField` is a type in Aspose.PDF FOSS for Go.

RadioButtonOptionField is one of the option widgets inside a RadioButtonField.

This type declares 3 methods for RadioButtonOptionField objects in Go programs.
Available methods include: `Name`, `Selected`, `SetSelected`.
Public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

## Methods

| Signature | Description |
|-----------|-------------|
| `Name()` → `string` | Name returns the option's export value (its /AS state when selected, equivalently its non-/Off key in the widget's /AP/N dict). |
| `Selected()` → `bool` | Selected reports whether this option is the currently selected one. |
| `SetSelected(v: bool)` | SetSelected selects this option and clears all siblings (true), or clears the selection if this option is currently selected; siblings are unaffected. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)