Class PdfComboBox
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Class for a combo box control. Combo box consists of a drop-down list optionally accompanied by an editable text box in which the user can type a value other than the predefined choices.
public sealed class PdfComboBox : PdfControl
- Inheritance
-
PdfComboBox
- Inherited Members
Remarks
The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.
Properties
- DefaultText
Gets or sets the default text associated with the control.
- Font
Gets or sets the font used to display text in this PdfComboBox.
- FontColor
Gets or sets the color of the font used to display text in this PdfComboBox.
- FontSize
Gets or sets the size of the font (in points) used to display text in this PdfComboBox.
- HasEditField
Gets or sets a value indicating whether this combo box includes an editable text box as well as a drop-down list.
- Items
Gets the collection of items in the combo box.
- Text
Gets or sets the text associated with the control.
Methods
- AddItem(PdfListItem)
Adds the specified item to the combo box.
- AddItem(string)
Adds the specified item to the combo box.
- AddItems(PdfListItem[])
Adds the specified items to the combo box.
- AddItems(IEnumerable<PdfListItem>)
Adds the specified items to the combo box.
- AddItems(IEnumerable<string>)
Adds the specified items to the combo box.
- AddItems(string[])
Adds the specified items to the combo box.
- ClearItems()
Removes all items from the combo box.
- ToString()
Returns a string that represents this PdfComboBox instance.