Class ComboBoxField
Represents a combo-box (drop down menu) in a PDF form.
Inherited Members
Namespace: IronPdf.Forms
Assembly: IronPdf.dll
Syntax
public class ComboBoxField : FormField
Constructors
ComboBoxField(Int32, String)
Declaration
public ComboBoxField(int id, string name)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | |
System.String | name |
Properties
Options
Gets the available options for the combo-box in zero based index order.
Declaration
public string[] Options { get; }
Property Value
Type | Description |
---|---|
System.String[] | The option names as strings. |
SelectedIndex
Gets the index of the selected option.
Declaration
public int SelectedIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the selected. 0 based. |