Table of Contents

Class PdfListBox

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Class for a scrollable list box control.

public sealed class PdfListBox : PdfControl
Inheritance
PdfListBox
Inherited Members

Remarks

The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.

Properties

Font

Gets or sets the font used to display text in this PdfListBox.

FontColor

Gets or sets the color of the font used to display text in this PdfListBox.

FontSize

Gets or sets the size of the font (in points) used to display text in this PdfListBox.

Items

Gets the collection of items in the list box.

MultiSelection

Gets or sets a value indicating whether this list box can have more than one of its items selected.

SelectedItems

Gets the collection of selected items in the list box.

Methods

AddItem(PdfListItem)

Adds the specified item to the list box.

AddItem(string)

Creates new list item with specified text and adds it to the list box.

AddItems(PdfListItem[])

Adds the specified items to the list box.

AddItems(IEnumerable<PdfListItem>)

Adds the specified items to the list box.

ClearItems()

Removes all items from the list box.

SelectItems(PdfListItem[])

Marks specified items as selected.

ToString()

Returns a string that represents this PdfListBox instance.