PdfRadioButtonField Class
A group of radio buttons (ISO 32000-2, 12.7.5.2.4): one widget per option, of which one at most is on.
public sealed class PdfRadioButtonField : PdfFormField- Inheritance
PdfFormFieldPdfRadioButtonField
Properties
| Name | Description |
|---|---|
| Options | Gets the options: the on states of the widgets, in their order. |
| Value | Gets or sets the option that is on, or null when none is. Setting it sets the value (/V) and the appearance states of the widgets (/AS). |
Options
PdfRadioButtonField.csGets the options: the on states of the widgets, in their order.
public IReadOnlyList<string> Options { get; }Property value
Gets or sets the option that is on, or null when none is. Setting it sets the value (/V) and the appearance states of the widgets (/AS).
public override string? Value { get; set; }Property value
Exceptions
ArgumentException- The value is not an option of the field.
InvalidOperationException- The field is read-only.