PdfChoiceFormField Class

The base class of the form fields where the user selects from a list of options: combo boxes and list boxes

Definition

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

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
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
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
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)
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
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
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)
Sorted A flag indicating if the PDF viewer sorts the options alphabetically. The default value is false
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
AddOption(String, String) Adds an option with a displayed text and a different export value
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also