Class PdfArray
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
PdfArrayThe array.
PdfArray(PdfDocument)
Initializes a new instance of the PdfArray class.
public PdfArray(PdfDocument document)
Parameters
document
PdfDocumentThe document.
PdfArray(PdfDocument, params PdfItem[])
Initializes a new instance of the PdfArray class.
public PdfArray(PdfDocument document, params PdfItem[] items)
Parameters
document
PdfDocumentThe document.
items
PdfItem[]The items.
Properties
Elements
Gets the collection containing the elements of this object.
public PdfArray.ArrayElements Elements { get; }
Property Value
Methods
Clone()
Creates a copy of this array. Direct elements are deep copied. Indirect references are not modified.
public PdfArray Clone()
Returns
Copy()
Implements the copy mechanism.
protected override object Copy()
Returns
GetEnumerator()
Returns an enumerator that iterates through a collection.
public virtual IEnumerator<PdfItem> GetEnumerator()
Returns
ToString()
Returns a string with the content of this object in a readable form. Useful for debugging purposes only.
public override string ToString()