PdfComboBoxField class Null safety

Represents combo box field in the PDF Form.

Inheritance

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.
read / writeinherited
borderColor PdfColor
Gets or sets the color of the border.
read / writeinherited
borderStyle PdfBorderStyle
Gets or sets the border style.
read / writeinherited
borderWidth int
Gets or sets the width of the border.
read / writeinherited
bounds Rect
Gets or sets the bounds.
read / writeinherited
canExport bool
Gets or sets a value indicating whether the PdfField is exportable or not.
read / writeinherited
editable bool
Gets or sets a value indicating whether this PdfComboBoxField is editable.
read / write
font PdfFont?
Gets or sets the font.
read / writeinherited
foreColor PdfColor
Gets or sets the color of the text.
read / writeinherited
form PdfForm?
Gets the form of the PdfField.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
highlightMode PdfHighlightMode
Gets or sets the highlighting mode.
read / writeinherited
items PdfListFieldItemCollection
Gets the list field items.
read-onlyinherited
mappingName String
Gets or sets the mapping name to be used when exporting interactive form field data from the document.
read / writeinherited
name String?
Gets or sets the name of the PdfField.
read / writeinherited
page PdfPage?
Gets the page of the field.
read-onlyinherited
readOnly bool
Gets or sets a value indicating whether this PdfField field is read-only.
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selectedIndex int
Gets or sets the selected index in the list.
read / write
selectedItem PdfListFieldItem?
Gets the selected item in the list.
read-only
selectedValue String
Gets or sets the selected value in the list.
read / write
tabIndex int
Gets or sets the tab index for form fields.
read / writeinherited
textAlignment PdfTextAlignment
Gets or sets the text alignment.
read / writeinherited
tooltip String
Gets or sets the tool tip.
read / writeinherited

Methods

flatten() → void
Flattens the field.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited