This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/editors/pdf/formfields/pdf-radio-button-field.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. PdfRadioButtonField

Represents a radio button form field in a PDF document. Radio buttons are part of a mutually exclusive group where only one option can be selected.

using Nutrient;

Inherits from: PdfFormField

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

Properties

HasSelection

public bool HasSelection { get; }

Whether any option is currently selected.

Type: bool

OptionCount

public int OptionCount { get; }

The number of options (radio buttons) in this group.

Type: int

SelectedOption

public string SelectedOption { get; set; }

The currently selected option value. Set to “Off” to deselect all options.

Type: string

Resource management

public void Dispose()

PdfRadioButtonField 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.