PdfComboBoxField Class

A combo box of an interactive form, a drop-down list from which the user selects one option

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public sealed class PdfComboBoxField : PdfChoiceFormField
Inheritance
Object    PdfFormField    PdfWidgetFormField    PdfChoiceFormField    PdfComboBoxField

Constructors

PdfComboBoxField(String, Int32, PdfRectangleF) Creates a combo box in the given rectangle of a page
PdfComboBoxField(String, Int32, Single, Single, Single, Single) Creates a combo box

Properties

Actions The actions performed by the PDF viewer on the events of the field
(Inherited from PdfFormField)
Alignment The horizontal alignment of the text in the field. The default value is Left
(Inherited from PdfChoiceFormField)
AutoFontSize A flag indicating if the font size is chosen automatically to fit the text in the field, ignoring the size of Font. The default value is false
(Inherited from PdfChoiceFormField)
BackgroundColor The background color of the field, or null for a transparent background. The default value is null
(Inherited from PdfWidgetFormField)
BorderColor The color of the field border, or null for no border. The default value is null
(Inherited from PdfWidgetFormField)
BorderStyle The style of the field border. The default value is Solid
(Inherited from PdfWidgetFormField)
BorderWidth The width of the field border, in points. The default value is 1
(Inherited from PdfWidgetFormField)
CommitOnSelectionChange A flag indicating if a new selection is committed as soon as it is made, instead of when the field loses the focus. The default value is false
(Inherited from PdfChoiceFormField)
DefaultValue The export value of the option selected when the form is reset. The SelectedValue is used when it is not set
Description The description of the field shown by PDF viewers as a tooltip and read by assistive technology. The field name is used when it is not set
(Inherited from PdfFormField)
DoNotSpellCheck A flag indicating if the PDF viewer does not spell check the text typed in an editable combo box. The default value is false
Editable A flag indicating if the user can type a value that is not in the list of options. The default value is false
Exportable A flag indicating if the value of the field is included when the form is submitted. The default value is true
(Inherited from PdfFormField)
Font The font of the options text. A standard Helvetica font of 12 points is used when it is not set
(Inherited from PdfChoiceFormField)
Height The height of the field, in points
(Inherited from PdfWidgetFormField)
MappingName The name used for the field when the form data is exported. The field name is used when it is not set
(Inherited from PdfFormField)
Name The name of the field, unique in the document
(Inherited from PdfFormField)
Options The options the user can select from
(Inherited from PdfChoiceFormField)
PageNumber The 1-based number of the page where the field is placed
(Inherited from PdfWidgetFormField)
ReadOnly A flag indicating if the user cannot change the value of the field. The default value is false
(Inherited from PdfFormField)
Required A flag indicating if the field must have a value when the form is submitted. The default value is false
(Inherited from PdfFormField)
SelectedValue The export value of the selected option, or the text typed by the user in an editable combo box. No option is selected when it is not set
Sorted A flag indicating if the PDF viewer sorts the options alphabetically. The default value is false
(Inherited from PdfChoiceFormField)
Visibility The visibility of the field on screen and in print. The default value is Visible
(Inherited from PdfWidgetFormField)
Width The width of the field, in points
(Inherited from PdfWidgetFormField)
X The left position of the field, in points, from the left margin of a document being created or from the left edge of the page of an edited document
(Inherited from PdfWidgetFormField)
Y The top position of the field, in points, from the top margin of a document being created or from the top edge of the page of an edited document
(Inherited from PdfWidgetFormField)

Methods

AddOption(String) Adds an option whose displayed text is also its export value
(Inherited from PdfChoiceFormField)
AddOption(String, String) Adds an option with a displayed text and a different export value
(Inherited from PdfChoiceFormField)
Equals
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
ToString
(Inherited from Object)

See Also