Click or drag to resize
Pdftools logo

ChoiceField Class

A choice field

Inheritance Hierarchy
SystemObject
  PdfTools.Toolbox.InternalNativeBase
    PdfTools.Toolbox.InternalNativeObject
      PdfTools.Toolbox.Pdf.FormsFieldNode
        PdfTools.Toolbox.Pdf.FormsField
          PdfTools.Toolbox.Pdf.FormsChoiceField
            PdfTools.Toolbox.Pdf.FormsComboBox
            PdfTools.Toolbox.Pdf.FormsListBox

Namespace: PdfTools.Toolbox.Pdf.Forms
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
Syntax
C#
public abstract class ChoiceField : Field

The ChoiceField type exposes the following members.

Properties
 NameDescription
Public propertyDisplayName

User interface name

The display name is not directly visible, but a PDF viewer can display this name, e.g., in a tool tip.
(Inherited from FieldNode)
Public propertyDoNotExport

Tells whether this field is exported


(Inherited from Field)
Public propertyExportName

The name used when exporting


(Inherited from FieldNode)
Public propertyItems

The list of choice items

Adding or removing items or clearing the list is not supported.
Public propertyReadOnly

Flags this field as read-only


(Inherited from Field)
Public propertyRequired

Flags this field as mandatory


(Inherited from Field)
Public propertyWidgets

This form field's widget annotations


(Inherited from Field)
Top
Methods
 NameDescription
Public methodAddNewItem Creates a new choice item. The item is automatically added to the choice field's Items.
Public methodAddNewWidget

Create a new widget and add to the form field

This method creates a widget for the form field. The widget is automatically added to the field's widgets, but not to any page. This method does not work for radio button form fields; Use AddNewWidget(Rectangle).
(Inherited from Field)
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also