Class RadioButtonWidget
An object representing a Radio Button used in a PDF Form.
Implements
Inherited Members
Namespace: pdftron.PDF.Annots
Assembly: PDFNet.dll
Syntax
public class RadioButtonWidget : Widget, IDisposable
Constructors
RadioButtonWidget(Annot)
Creates a Radio Button Widget annotation and initialize it using given annotation object.
Declaration
public RadioButtonWidget(Annot ann)
Parameters
Type | Name | Description |
---|---|---|
Annot | ann | The annotation to use. |
Remarks
The constructor does not copy any data, but is instead the logical equivalent of a type cast.
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
RadioButtonWidget(Obj)
Creates a Radio Button Widget annotation and initialize it using given Cos/SDF object.
Declaration
public RadioButtonWidget(Obj d)
Parameters
Type | Name | Description |
---|---|---|
Obj | d | the object to use to initialize the Radio Button Widget |
Remarks
The constructor does not copy any data, but is instead the logical equivalent of a type cast.
Methods
Dispose(bool)
Declaration
[HandleProcessCorruptedStateExceptions]
protected override void Dispose(bool A_0)
Parameters
Type | Name | Description |
---|---|---|
bool | A_0 |
Overrides
EnableButton()
Enable the current radio button. Note that this may disable other Radio Buttons in the same group.
Declaration
public void EnableButton()
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
~RadioButtonWidget()
Declaration
protected ~RadioButtonWidget()
GetGroup()
Gets the group to which the current button is connected.
Declaration
public RadioButtonGroup GetGroup()
Returns
Type | Description |
---|---|
RadioButtonGroup | The group containing this Radio Button. |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
IsEnabled()
Determines whether this button is enabled.
Declaration
public bool IsEnabled()
Returns
Type | Description |
---|---|
bool | A boolean value indicating whether the Radio Button is enabled. |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |