Click or drag to resize

PdfListBoxField Class

Represents a scrollable list box.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.Pdf.AnnotationsPdfAnnotation
      SautinSoft.Pdf.FormsPdfField
        SautinSoft.Pdf.FormsPdfVariableTextField
          SautinSoft.Pdf.FormsPdfChoiceField
            SautinSoft.Pdf.FormsPdfListBoxField

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

The PdfListBoxField type exposes the following members.

Properties
 NameDescription
Public propertyFieldType Gets the ListBox value.
(Overrides PdfFieldFieldType)
Public propertyMultipleSelection

(PDF 1.4) Gets a value indicating whether more than one of the field’s option items may be selected simultaneously.

Default value: .

Public propertySelectedIndices(PDF 1.4) Gets the collection of indices of the selected items.
Public propertySelectedItems(PDF 1.4) Gets the collection of selected items.
Public propertyTopIndex

Gets or set the top index (the index in the Items of the first option visible in the scrollable list box).

Default value: 0.

Public propertyValue

Gets or sets the PdfListBoxField value as an instance of either a String or an Array of String type (if more than one item is selected).

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