Aspose::Pdf::Forms::RadioButtonField class
RadioButtonField class
Class representing radio button field.
class RadioButtonField : public Aspose::Pdf::Forms::ChoiceField
Methods
Method | Description |
---|---|
Add(const System::SharedPtr<RadioButtonOptionField>&) | Adds new option field to RadioButton field. |
AddOption(System::String, System::SharedPtr<Rectangle>) | Add to radio button option with specifed rectangle. |
AddOption(System::String) override | Add option to radion button. |
get_NoToggleToOff() | Get or sets the flag that allows the radiobutton to have no selected value. If true |
, exactly one radio button shall be selected at all times; selecting the currently selected button has no effect. If false
, clicking the selected button deselects it, leaving no button selected. | | get_Options() override | Gets collection of options of the radio button. | | get_PageIndex() override | Gets index of page which contains this RadioButton field. | | get_Selected() override | Gets index of selected item. Numbering of items is started from 1. | | get_Style() | Style of field box. | | get_Value() override | Gets value of field. | | RadioButtonField(System::SharedPtr<Aspose::Pdf::Page>) | Constructor for RadiouttonField. | | RadioButtonField(System::SharedPtr<Document>) | Constructor for RadioButtonField. | | set_NoToggleToOff(bool) | Get or sets the flag that allows the radiobutton to have no selected value. If true
, exactly one radio button shall be selected at all times; selecting the currently selected button has no effect. If false
, clicking the selected button deselects it, leaving no button selected. | | set_Selected(int32_t) override | Sets index of selected item. Numbering of items is started from 1. | | set_Style(BoxStyle) | Style of field box. | | set_Value(System::String) override | Sets value of field. | | SetPosition(System::SharedPtr<Point>) override | Move all subitems of radio button to specified positins on the page. |
See Also
- Class ChoiceField
- Namespace Aspose::Pdf::Forms
- Library Aspose.PDF for C++