Aspose::Pdf::Forms::ListBoxField class

ListBoxField class

Class represents ListBox field.

class ListBoxField : public Aspose::Pdf::Forms::ChoiceField

Methods

MethodDescription
get_TopIndex()Gets index of the top visible element of the list.
ListBoxField()Constructor for ListBoxField to be used in Generator.
ListBoxField(System::SharedPtr<Aspose::Pdf::Page>, System::SharedPtr<Rectangle>)Creates new ListBox field.
ListBoxField(System::SharedPtr<Document>, System::SharedPtr<Rectangle>)Constructor for ListBox field.
set_Selected(int32_t) overrideSets index of the selected item. Items are numbered from 1.
set_SelectedItems(System::ArrayPtr<int32_t>) overrideSets array of the selected items in the multiselect list. For single-select list returns array with single item.
set_TopIndex(int32_t)Sets index of the top visible element of the list.

See Also