PdfSharp-GDI  1.31.7289
PdfSharp.Pdf.PdfArray Class Reference

Represents a PDF array object. More...

Inheritance diagram for PdfSharp.Pdf.PdfArray:
PdfSharp.Pdf.PdfObject PdfSharp.Pdf.PdfItem PdfSharp.Pdf.AcroForms.PdfAcroField.PdfAcroFieldCollection PdfSharp.Pdf.Advanced.PdfContents PdfSharp.Pdf.Annotations.PdfAnnotations

Classes

class  ArrayElements
 Represents the elements of an PdfArray. More...
 

Public Member Functions

 PdfArray ()
 Initializes a new instance of the PdfArray class. More...
 
 PdfArray (PdfDocument document)
 Initializes a new instance of the PdfArray class. More...
 
 PdfArray (PdfDocument document, params PdfItem[] items)
 Initializes a new instance of the PdfArray class. More...
 
new PdfArray Clone ()
 Creates a copy of this array. Direct elements are deep copied. Indirect references are not modified. More...
 
virtual IEnumerator< PdfItemGetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 
override string ToString ()
 Returns a string with the content of this object in a readable form. Useful for debugging purposes only. More...
 
- Public Member Functions inherited from PdfSharp.Pdf.PdfObject
new PdfObject Clone ()
 Creates a copy of this object. The clone does not belong to a document, i.e. its owner and its iref are null. More...
 
- Public Member Functions inherited from PdfSharp.Pdf.PdfItem
PdfItem Clone ()
 Creates a copy of this object. More...
 

Protected Member Functions

 PdfArray (PdfArray array)
 Initializes a new instance from an existing dictionary. Used for object type transformation. More...
 
override object Copy ()
 Implements the copy mechanism. More...
 
- Protected Member Functions inherited from PdfSharp.Pdf.PdfObject
 PdfObject ()
 Initializes a new instance of the PdfObject class. More...
 
 PdfObject (PdfDocument document)
 Initializes a new instance of the PdfObject class. More...
 
 PdfObject (PdfObject obj)
 Initializes a new instance from an existing object. Used for object type transformation. More...
 
override object Copy ()
 Implements the copy mechanism. Must be overridden in derived classes. More...
 

Properties

ArrayElements Elements [get]
 Gets the collection containing the elements of this object. More...
 
- Properties inherited from PdfSharp.Pdf.PdfObject
virtual PdfDocument Owner [get]
 Gets the PdfDocument this object belongs to. More...
 
bool IsIndirect [get]
 Indicates whether the object is an indirect object. More...
 
PdfObjectInternals Internals [get]
 Gets the PdfInternals object of this document, that grants access to some internal structures which are not part of the public interface of PdfDocument. More...
 
PdfReference Reference [get, set]
 Gets the indirect reference of this object. If the value is null, this object is a direct object. More...
 

Detailed Description

Represents a PDF array object.

Constructor & Destructor Documentation

◆ PdfArray() [1/4]

PdfSharp.Pdf.PdfArray.PdfArray ( )

Initializes a new instance of the PdfArray class.

◆ PdfArray() [2/4]

PdfSharp.Pdf.PdfArray.PdfArray ( PdfDocument  document)

Initializes a new instance of the PdfArray class.

Parameters
documentThe document.

◆ PdfArray() [3/4]

PdfSharp.Pdf.PdfArray.PdfArray ( PdfDocument  document,
params PdfItem[]  items 
)

Initializes a new instance of the PdfArray class.

Parameters
documentThe document.
itemsThe items.

◆ PdfArray() [4/4]

PdfSharp.Pdf.PdfArray.PdfArray ( PdfArray  array)
protected

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

Parameters
arrayThe array.

Member Function Documentation

◆ Clone()

new PdfArray PdfSharp.Pdf.PdfArray.Clone ( )

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

◆ Copy()

override object PdfSharp.Pdf.PdfArray.Copy ( )
protectedvirtual

Implements the copy mechanism.

Reimplemented from PdfSharp.Pdf.PdfItem.

◆ GetEnumerator()

virtual IEnumerator<PdfItem> PdfSharp.Pdf.PdfArray.GetEnumerator ( )
virtual

Returns an enumerator that iterates through a collection.

Reimplemented in PdfSharp.Pdf.Annotations.PdfAnnotations.

◆ ToString()

override string PdfSharp.Pdf.PdfArray.ToString ( )

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

Property Documentation

◆ Elements

ArrayElements PdfSharp.Pdf.PdfArray.Elements
get

Gets the collection containing the elements of this object.


The documentation for this class was generated from the following file: