PTRadioButtonWidget

@interface PTRadioButtonWidget : PTWidget

An object representing a Radio Button used in a PDF Form.

  • Creates a Radio Button Widget annotation and initialize it using given Cos/SDF object.

    Note: The constructor does not copy any data, but is instead the logical equivalent of a type cast.

    Declaration

    Objective-C

    - (instancetype)initWithD:(PTObj *)d;

    Swift

    init!(d: PTObj!)

    Parameters

    d

    the object to use to initialize the Radio Button Widget

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithAnnot: (PTAnnot*)annot;

    Swift

    init!(annot: PTAnnot!)
  • Gets the group to which the current button is connected.

    Declaration

    Objective-C

    - (PTRadioButtonGroup *)GetGroup;

    Swift

    func getGroup() -> PTRadioButtonGroup!

    Return Value

    The group containing this Radio Button.

  • Enable the current radio button. Note that this may disable other Radio Buttons in the same group.

    Declaration

    Objective-C

    - (void)EnableButton;

    Swift

    func enableButton()
  • Determines whether this button is enabled.

    Declaration

    Objective-C

    - (BOOL)IsEnabled;

    Swift

    func isEnabled() -> Bool

    Return Value

    A boolean value indicating whether the Radio Button is enabled.