Click or drag to resize

FormFieldComboBox Class

A combo box (drop-down) field.
Inheritance Hierarchy
SystemObject
  ExpertPdf.Anywhere.PDFFormsFormField
    ExpertPdf.Anywhere.PDFFormsFormFieldComboBox

Namespace: ExpertPdf.Anywhere.PDFForms
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class FormFieldComboBox : FormField

The FormFieldComboBox type exposes the following members.

Properties
 NameDescription
Public propertyDisplayPageGets the zero-based index of the page the field is on, or -1.
(Inherited from FormField)
Public propertyDisplayRectangleGets the field rectangle on its page (in PDF points).
(Inherited from FormField)
Public propertyFlattenGets or sets a value indicating whether this field is flattened on save.
(Inherited from FormField)
Public propertyFullNameGets the fully-qualified field name.
(Inherited from FormField)
Public propertyItemsGets the export value of every item in the combo box.
Public propertyItemsCountGets the number of items in the combo box.
Public propertyNameGets or sets the field name.
(Inherited from FormField)
Public propertyReadOnlyGets or sets a value indicating whether the field is read-only.
(Inherited from FormField)
Public propertySelectedIndexGets or sets the zero-based index of the selected item (-1 = none).
Public propertySelectedValueGets or sets the value of the selected item.
Public propertyWidgetsGets the collection of widgets (visual placements) of this field.
(Inherited from FormField)
Top
Example
PdfFormManager manager = new PdfFormManager();
manager.Load("form.pdf");
FormFieldComboBox country =
    manager.Fields["country"] as FormFieldComboBox;
country.SelectedValue = "France";
manager.Save("filled.pdf");
See Also