ChoiceField

Overview

ChoiceField is a class in Aspose.PDF FOSS for C++.

This class provides 14 methods for working with ChoiceField objects in C++ programs. Available methods include: AddOption, CommitImmediately, DeleteOption, MultiSelect, Options, Selected, SelectedItems, Value. All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
AddOption(optionName: std::string)Calls AddOption(optionName) on this ChoiceField instance.
AddOption(exportName: std::string, name: std::string)Calls AddOption(exportName, name) on this ChoiceField instance.
DeleteOption(optionName: std::string)Calls DeleteOption(optionName) on this ChoiceField instance.
CommitImmediately()boolCalls CommitImmediately on this ChoiceField instance.
CommitImmediately(value: bool)Calls CommitImmediately(value) on this ChoiceField instance.
MultiSelect()boolCalls MultiSelect on this ChoiceField instance.
MultiSelect(value: bool)Calls MultiSelect(value) on this ChoiceField instance.
Selected()intCalls Selected on this ChoiceField instance.
Selected(value: int)Calls Selected(value) on this ChoiceField instance.
SelectedItems()std::vector<int>Calls SelectedItems on this ChoiceField instance.
SelectedItems(value: std::vector<int>)Calls SelectedItems(value) on this ChoiceField instance.
Options()OptionCollectionCalls Options on this ChoiceField instance.
Value()std::stringCalls Value on this ChoiceField instance.
Value(value: std::string)Calls Value(value) on this ChoiceField instance.

See Also