Click or drag to resize

PdfCollectionT Class

Represents a base class for all collection types that implement various PDF components in the GemBox.Pdf assembly.
Inheritance Hierarchy

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version:
public abstract class PdfCollection<T> : PdfCollection, 
	IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Type Parameters

The type of elements in the collection.

The PdfCollectionT type exposes the following members.

Public propertyCount
Gets the number of elements contained in the PdfCollection.
(Inherited from PdfCollection.)
Public propertyItem
Gets or sets the element at the specified index.
Public methodAdd
Adds an element to the end of the PdfCollectionT.
Public methodClear
Removes all elements from the PdfCollection.
(Inherited from PdfCollection.)
Public methodContains
Determines whether an element is in the PdfCollectionT.
Public methodCopyTo
Copies the entire PdfCollectionT to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodGetEnumerator
Returns an enumerator that iterates through the PdfCollectionT.
Public methodIndexOf
Searches for the specified element and returns the zero-based index of the first occurrence within the entire PdfCollectionT.
Public methodInsert
Inserts an element into the PdfCollectionT at the specified index.
Public methodRemove
Removes the first occurrence of a specific element from the PdfCollectionT.
Public methodRemoveAt
Removes the element at the specified index of the PdfCollection.
(Inherited from PdfCollection.)
Extension Methods
Public Extension MethodGetArray
Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions.)
Public Extension MethodGetDictionary
Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions.)
See Also