Table of Contents

Class DocumentObjectCollection

Namespace
PdfSharp.Charting
Assembly
PdfSharp.Charting.dll

Base class of all collections.

public abstract class DocumentObjectCollection : DocumentObject
Inheritance
object
DocumentObjectCollection
Derived
Inherited Members

Properties

Count

Gets the number of elements contained in the collection.

First

Gets the first value in the collection, if there is any, otherwise null.

this[int]

Gets the element at the specified index.

LastObject

Gets the last element, or null if no such element exists.

Methods

Add(DocumentObject?)

Adds the specified document object to the collection.

Clear()

Removes all elements from the collection.

Clone()

Creates a deep copy of this object.

CopyTo(Array, int)

Copies the Array or a portion of it to a one-dimensional array.

DeepCopy()

Implements the deep copy of the object.

GetEnumerator()

Returns an enumerator that iterates through a collection.

IndexOf(DocumentObject)

Searches for the specified object and returns the zero-based index of the first occurrence.

InsertObject(int, DocumentObject)

Inserts an element into the collection at the specified position.

RemoveObjectAt(int)

Removes the element at the specified index.