Aspose::Pdf::Forms::ChoiceField class
Contents
[
Hide
]ChoiceField class
Represents base class for choice fields.
class ChoiceField : public Aspose::Pdf::Forms::Field
Methods
Method | Description |
---|---|
virtual AddOption(System::String) | Adds new option with specified name. |
virtual AddOption(System::String, System::String) | Adds new option with specified export value and name. |
ChoiceField(System::SharedPtr<Aspose::Pdf::Page>, System::SharedPtr<Rectangle>) | Constructor for ChoiceField. |
ChoiceField(System::SharedPtr<Document>) | Creates choice field (for Generator) |
ChoiceField(System::SharedPtr<Document>, System::SharedPtr<Rectangle>) | Constructor for ChoiceField. |
virtual DeleteOption(System::String) | Deletes option by its name. |
get_CommitImmediately() | Gets commit on selection change flag. |
get_MultiSelect() | Gets multiselection flag. |
virtual get_Options() | Gets collection of choice options. |
virtual get_Selected() | Gets index of selected option. This property allows to change selection. |
virtual get_SelectedItems() | Gets array of selected items. For multiselect list array contains more then one item. For single selection list it contains single item. |
get_Value() override | Gets value of the field. |
set_CommitImmediately(bool) | Sets commit on selection change flag. |
set_MultiSelect(bool) | Sets multiselection flag. |
virtual set_Selected(int32_t) | Sets index of selected option. This property allows to change selection. |
virtual set_SelectedItems(System::ArrayPtr<int32_t>) | Sets array of selected items. For multiselect list array contains more then one item. For single selection list it contains single item. |
set_Value(System::String) override | Sets value of the field. |
See Also
- Class Field
- Namespace Aspose::Pdf::Forms
- Library Aspose.PDF for C++