Class PdfDictionary
Represents a PDF dictionary object.
public class PdfDictionary : PdfContainer
- Inheritance
-
objectPdfDictionary
- Derived
- Inherited Members
- Extension Methods
Constructors
- PdfDictionary()
Initializes a new instance of the PdfDictionary class.
- PdfDictionary(PdfDictionary)
Initializes a new instance from an existing dictionary. Used for object type transformation.
- PdfDictionary(PdfDocument, bool)
Initializes a new instance of the PdfDictionary class.
Properties
- Elements
Gets the dictionary containing the elements of this dictionary.
- Stream
Gets the PDF stream belonging to this dictionary. Returns null if the dictionary has no stream. To create the stream, call the CreateStream function.
Methods
- Clone()
Creates a copy of this dictionary. Direct values are deep-copied. Indirect references are not modified.
- Copy()
// TODO check This function is useful for importing objects from external documents. The returned object is not yet complete. irefs refer to external objects and directed objects are cloned but their document property is null. A cloned dictionary or array needs a 'fix-up' to be a valid object.
- CreateStream(byte[])
Creates the stream of this dictionary and initializes it with the specified byte array. The function must not be called if the dictionary already has a stream.
- GetEnumerator()
Returns an enumerator that iterates through the dictionary elements.
- ToString()
Returns a string with the content of this object in a readable form. Useful for debugging purposes only.