Click or drag to resize

PdfDropdownField Class

Represents a combo box consisting of a drop-down list. The combo box may be accompanied by an editable text box in which the user can type a value other than the predefined choices.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.Pdf.AnnotationsPdfAnnotation
      SautinSoft.Pdf.FormsPdfField
        SautinSoft.Pdf.FormsPdfVariableTextField
          SautinSoft.Pdf.FormsPdfChoiceField
            SautinSoft.Pdf.FormsPdfDropdownField

Namespace: SautinSoft.Pdf.Forms
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public sealed class PdfDropdownField : PdfChoiceField

The PdfDropdownField type exposes the following members.

Properties
 NameDescription
Public propertyAllowCustomText

Gets a value indicating whether the field shall include an editable text box as well as a drop-down list.

Default value: .

Public propertyCheckSpelling

(PDF 1.4) Gets a value indicating whether the text entered in the field shall be spell-checked.

Default value: .

Applicable only if AllowCustomText is .

Public propertyFieldType Gets the Dropdown value.
(Overrides PdfFieldFieldType)
Public propertyRequired If set, the field shall have a value at the time it is exported by a submit-form action (see 12.7.5.2, "Submit-Form Action").
Public propertyValue

Gets or sets the PdfDropdownField value as an instance of a String.

Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also