Method AddComboBox
AddComboBox(string, PdfPage, XRect, IEnumerable<string>, PdfFormFieldStyle?)
Adds a combo box (a drop-down list) with the given options, none selected.
public PdfFormComboBoxField AddComboBox(string name, PdfPage page, XRect rectangle, IEnumerable<string> options, PdfFormFieldStyle? style = null)
Parameters
namestringpagePdfPagerectangleXRectoptionsIEnumerable<string>stylePdfFormFieldStyle
Returns
Exceptions
- InvalidOperationException
The document is PDF/A: the field's Helvetica is not embedded.