Class PdfListItemCollection
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Represents the collection of items available in a PdfComboBox or PdfListBox control.
public sealed class PdfListItemCollection : IEnumerable<PdfListItem?>, IEnumerable
- Inheritance
-
PdfListItemCollection
- Implements
- Inherited Members
Remarks
Enumerates the PdfListItem instances associated with the control. An element
may be null if the item cannot be constructed from the underlying PDF data.
See the Docotic.Pdf Library Documentation for related articles, guides, and sample code.
Properties
- Count
Gets the number of list items contained in this collection.
- this[int]
Gets the PdfListItem at the specified index in this collection.
Methods
- Add(PdfListItem)
Adds the specified PdfListItem to this collection.
- Add(IEnumerable<PdfListItem>)
Adds the specified PdfListItem instances to this collection.
- Add(IEnumerable<string>)
Creates new PdfListItem instances from the specified texts and adds them to this collection.
- Add(string)
Creates a new PdfListItem with the specified text and adds it to this collection.
- Clear()
Removes all list items from this collection.
- GetEnumerator()
Returns an enumerator that iterates through the collection of items available in a PdfComboBox or PdfListBox control.
- RemoveAt(int)
Removes the list item at the specified index from this collection.