Search Results for

    Show / Hide Table of Contents

    Class ComboBoxField

    Represents a combo-box (drop down menu) in a PDF form.

    Inheritance
    System.Object
    FormField
    ComboBoxField
    Inherited Members
    FormField.SetFont(FontTypes, Double)
    FormField.ToString()
    FormField.Name
    FormField.ReadOnly
    Namespace: IronPdf.Forms
    Assembly: IronPdf.dll
    Syntax
    public class ComboBoxField : FormField

    Constructors

    ComboBoxField()

    Declaration
    public ComboBoxField()

    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.

    Value

    Gets or sets the text value of the combo-box.

    Declaration
    public override string Value { get; set; }
    Property Value
    Type Description
    System.String

    The value as a string.

    Overrides
    FormField.Value

    Inherited members

    SetFont(FontTypes, Double)
    ToString()
    Name
    ReadOnly

    See Also

    FormField
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.