Click or drag to resize
Pdf Library for .NET

PdfFormFieldRadioButtonList Class

A radio-button group field.
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalPdfFormField
    SelectPdf.UniversalPdfFormFieldRadioButtonList

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public class PdfFormFieldRadioButtonList : PdfFormField

The PdfFormFieldRadioButtonList type exposes the following members.

Properties
 NameDescription
Public propertyDisplayPageGets the zero-based index of the page the field is on, or -1.
(Inherited from PdfFormField)
Public propertyDisplayRectangleGets the field rectangle on its page (in PDF points).
(Inherited from PdfFormField)
Public propertyFlattenGets or sets a value indicating whether this field is flattened on save.
(Inherited from PdfFormField)
Public propertyFullNameGets the fully-qualified field name.
(Inherited from PdfFormField)
Public propertyItemsGets the export value of every button in the group.
Public propertyItemsCountGets the number of buttons in the group.
Public propertyNameGets or sets the field name.
(Inherited from PdfFormField)
Public propertyReadOnlyGets or sets a value indicating whether the field is read-only.
(Inherited from PdfFormField)
Public propertySelectedIndexGets or sets the zero-based index of the selected button (-1 = none).
Public propertySelectedValueGets or sets the export value of the selected button.
Public propertyWidgetsGets the collection of widgets (visual placements) of this field.
(Inherited from PdfFormField)
Top
Example
PdfFormManager manager = new PdfFormManager();
manager.Load("form.pdf");
PdfFormFieldRadioButtonList gender =
    manager.Fields["gender"] as PdfFormFieldRadioButtonList;
gender.SelectedIndex = 0;
manager.Save("filled.pdf");
See Also