Table of Contents

Class PdfArray

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents a PDF array object.

public class PdfArray : PdfObject, ICloneable, IEnumerable<PdfItem>, IEnumerable
Inheritance
PdfArray
Implements
Derived
Inherited Members

Constructors

PdfArray()

Initializes a new instance of the PdfArray class.

public PdfArray()

PdfArray(PdfArray)

Initializes a new instance from an existing dictionary. Used for object type transformation.

protected PdfArray(PdfArray array)

Parameters

array PdfArray

The array.

PdfArray(PdfDocument)

Initializes a new instance of the PdfArray class.

public PdfArray(PdfDocument document)

Parameters

document PdfDocument

The document.

PdfArray(PdfDocument, params PdfItem[])

Initializes a new instance of the PdfArray class.

public PdfArray(PdfDocument document, params PdfItem[] items)

Parameters

document PdfDocument

The document.

items PdfItem[]

The items.

Properties

Elements

Gets the collection containing the elements of this object.

public PdfArray.ArrayElements Elements { get; }

Property Value

PdfArray.ArrayElements

Methods

Clone()

Creates a copy of this array. Direct elements are deep copied. Indirect references are not modified.

public PdfArray Clone()

Returns

PdfArray

Copy()

Implements the copy mechanism.

protected override object Copy()

Returns

object

GetEnumerator()

Returns an enumerator that iterates through a collection.

public virtual IEnumerator<PdfItem> GetEnumerator()

Returns

IEnumerator<PdfItem>

ToString()

Returns a string with the content of this object in a readable form. Useful for debugging purposes only.

public override string ToString()

Returns

string