Skip to main content

PdfAcroFormListBoxField Members

Represents a list box field.

Constructors

Name Description
PdfAcroFormListBoxField(String, Int32, PdfRectangle) Initializes a new instance of the PdfAcroFormListBoxField class with the specified list box field name, page number, where the field will be created, and the field rectangle.

Properties

Name Description
Appearance Specifies the appearance settings for the interactive form field. Inherited from PdfAcroFormVisualField.
MultiSelect Specifies whether multiple items can be selected simultaneously in the list box field.
Name Specifies the interactive form field name. Inherited from PdfAcroFormField.
PageNumber Specifies page number where the interactive form field will be created. Inherited from PdfAcroFormVisualField.
Print Specifies whether the current form field is printed. Inherited from PdfAcroFormVisualField.
ReadOnly Gets or sets whether the interactive form field allows edit operations. Inherited from PdfAcroFormVisualField.
Rectangle Specifies a rectangle inside which an interactive form field is located on a page. Inherited from PdfAcroFormCommonVisualField.
Required Gets or sets the required status of the interactive form field. Inherited from PdfAcroFormVisualField.
Rotation Specifies the rotation to apply to interactive form field. Inherited from PdfAcroFormVisualField.
TextAlignment Specifies the horizontal alignment of the interactive form field’s text. Inherited from PdfAcroFormCommonVisualField.
ToolTip Specifies the form field’s tooltip text. Inherited from PdfAcroFormField.
TopIndex Specifies the index of the first visible item in the list box field.
Visible Specifies whether the form field is visible on the page. Inherited from PdfAcroFormVisualField.

Methods

Name Description
AddValue(String, String) Adds an item to a combo box and list box using their display and export values. Inherited from PdfAcroFormChoiceField.
AddValue(String) Adds an item to a combo box and list box by their display value. Inherited from PdfAcroFormChoiceField.
AddWidget(PdfRectangle) Adds a widget annotation related to the choice form field (combo box or list box). The widget is added to the page where the form field is located. Inherited from PdfAcroFormChoiceField.
AddWidget(Int32, PdfRectangle) Adds a widget annotation related to the choice form field (combo box or list box). Allows you to specify a page to which the widget should be added. Inherited from PdfAcroFormChoiceField.
ClearSelection() Clears the combo box or list box selection. Inherited from PdfAcroFormChoiceField.
ClearValues() Removes all values to be added to the list box and combo box. Inherited from PdfAcroFormChoiceField.
ClearWidgets() Removes all additional widget annotations. Inherited from PdfAcroFormChoiceField.
CreateCheckBox(String, Int32, PdfRectangle) static Creates a check box field using the field name, page number, and a rectangle where the check box field will be located on a page. Inherited from PdfAcroFormField.
CreateComboBox(String, Int32, PdfRectangle) static Creates a combo box field using the field name, page number, and a rectangle where the combo box field will be located on a page. Inherited from PdfAcroFormField.
CreateGroup(String) static Creates a group form field using the field name. Inherited from PdfAcroFormField.
CreateListBox(String, Int32, PdfRectangle) static Creates a list box field using the field name, page number and a rectangle where the list box field will be located on a page. Inherited from PdfAcroFormField.
CreateRadioGroup(String, Int32) static Creates a radio group field using the field name, and page number. Inherited from PdfAcroFormField.
CreateSignature(String, Int32, PdfRectangle) static Creates a signature field using the field name, page number and a rectangle where a signature field will be located on a page. Inherited from PdfAcroFormField.
CreateTextBox(String, Int32, PdfRectangle) static Creates a text box field using the field name, page number, and a rectangle where a text box field will be located on a page. Inherited from PdfAcroFormField.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SelectValue(String) Selects an item of a combo box and list box by their export value. Inherited from PdfAcroFormChoiceField.
SetSelected(Int32, Boolean) Sets the specified item’s selection state in combo box and list box fields. Inherited from PdfAcroFormChoiceField.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also