PdfComboBoxField class
Represents combo box field in the PDF Form.
- Inheritance
-
- Object
- PdfField
- PdfListField
- PdfComboBoxField
Constructors
-
PdfComboBoxField(PdfPage page, String name, Rect bounds, {List<
PdfListFieldItem> ? items, bool editable = false, int? selectedIndex, String? selectedValue, PdfFont? font, PdfTextAlignment alignment = PdfTextAlignment.left, PdfColor? borderColor, PdfColor? foreColor, PdfColor? backColor, int? borderWidth, PdfHighlightMode highlightMode = PdfHighlightMode.invert, PdfBorderStyle borderStyle = PdfBorderStyle.solid, String? tooltip}) - Initializes a new instance of the PdfComboBoxField class with the specific page, name and bounds.
Properties
- backColor ↔ PdfColor
-
Gets or sets the color of the background.
getter/setter pairinherited
- borderColor ↔ PdfColor
-
Gets or sets the color of the border.
getter/setter pairinherited
- borderStyle ↔ PdfBorderStyle
-
Gets or sets the border style.
getter/setter pairinherited
- borderWidth ↔ int
-
Gets or sets the width of the border.
getter/setter pairinherited
- bounds ↔ Rect
-
Gets or sets the bounds.
getter/setter pairinherited
- canExport ↔ bool
-
Gets or sets a value indicating whether the PdfField is exportable or not.
getter/setter pairinherited
- editable ↔ bool
-
Gets or sets a value indicating whether this PdfComboBoxField is editable.
getter/setter pair
- font ↔ PdfFont?
-
Gets or sets the font.
getter/setter pairinherited
- foreColor ↔ PdfColor
-
Gets or sets the color of the text.
getter/setter pairinherited
- form → PdfForm?
-
Gets the form of the PdfField.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightMode ↔ PdfHighlightMode
-
Gets or sets the highlighting mode.
getter/setter pairinherited
- items → PdfListFieldItemCollection
-
Gets the list field items.
no setterinherited
- mappingName ↔ String
-
Gets or sets the mapping name to be used when exporting interactive form
field data from the document.
getter/setter pairinherited
- name ↔ String?
-
Gets or sets the name of the PdfField.
getter/setter pairinherited
- page → PdfPage?
-
Gets the page of the field.
no setterinherited
- readOnly ↔ bool
-
Gets or sets a value indicating whether this PdfField field is read-only.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIndex ↔ int
-
Gets or sets the selected index in the list.
getter/setter pair
- selectedItem → PdfListFieldItem?
-
Gets the selected item in the list.
no setter
- selectedValue ↔ String
-
Gets or sets the selected value in the list.
getter/setter pair
- tabIndex ↔ int
-
Gets or sets the tab index for form fields.
getter/setter pairinherited
- textAlignment ↔ PdfTextAlignment
-
Gets or sets the text alignment.
getter/setter pairinherited
- tooltip ↔ String
-
Gets or sets the tool tip.
getter/setter pairinherited
Methods
-
flatten(
) → void -
Flattens the field.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited