Table of Contents

Class AcroRadioButtonField

Namespace
UglyToad.PdfPig.AcroForms.Fields
Assembly
UglyToad.PdfPig.dll

A single radio button.

public class AcroRadioButtonField : AcroFieldBase
Inheritance
AcroRadioButtonField
Inherited Members
Extension Methods

Constructors

AcroRadioButtonField(DictionaryToken, string, AcroButtonFieldFlags, AcroFieldCommonInformation, int?, PdfRectangle?, NameToken, bool)

Create a new AcroRadioButtonField.

public AcroRadioButtonField(DictionaryToken dictionary, string fieldType, AcroButtonFieldFlags fieldFlags, AcroFieldCommonInformation information, int? pageNumber, PdfRectangle? bounds, NameToken currentValue, bool isSelected)

Parameters

dictionary DictionaryToken
fieldType string
fieldFlags AcroButtonFieldFlags
information AcroFieldCommonInformation
pageNumber int?
bounds PdfRectangle?
currentValue NameToken
isSelected bool

Properties

CurrentValue

The current value of this radio button.

public NameToken CurrentValue { get; }

Property Value

NameToken

Flags

The AcroButtonFieldFlags which define the behaviour of this button type.

public AcroButtonFieldFlags Flags { get; }

Property Value

AcroButtonFieldFlags

IsSelected

Whether the radio button is currently on/active.

public bool IsSelected { get; }

Property Value

bool