Class PdfDocumentInternals
Provides access to the internal document data structures. This class prevents the public interfaces from pollution with too many internal functions.
public class PdfDocumentInternals
- Inheritance
-
objectPdfDocumentInternals
Fields
- CustomValueKey
The name of the custom value key.
Properties
- AllObjects
Gets all indirect objects ordered by their object identifier.
- Catalog
Gets the catalog dictionary.
- ExtGStateTable
Gets the ExtGStateTable object.
- FirstDocumentGuid
Gets the first document identifier as GUID.
- FirstDocumentID
Gets or sets the first document identifier. Sometimes called the document ID.
- SecondDocumentGuid
Gets the first document identifier as GUID.
- SecondDocumentID
Gets or sets the second document identifier. Sometimes called the instance IC. ///
- UAManager
This property is not documented by intention.
Methods
- AddObject(PdfObject)
Adds an object to the PDF document. This operation and only this operation makes the object an indirect object owned by this document.
- CreateIndirectObject<T>()
Creates the indirect object of the specified type, adds it to the document, and returns the object.
- GenerationNumber(PdfObject)
Gets the generation number of the specified object.
- GetAllObjects()
Gets all indirect objects ordered by their object identifier.
- GetClosure(PdfObject)
Returns an array containing the specified object as first element follows by its transitive closure. The closure of an object are all objects that can be reached by indirect references. The transitive closure is the result of applying the calculation of the closure to a closure as long as no new objects came along. This is e.g. useful for getting all objects belonging to the resources of a page.
- GetObject(PdfObjectID)
Returns the object with the specified Identifier, or null if no such object exists.
- GetObjectID(PdfObject)
Gets the object identifier of the specified object.
- GetObjectNumber(PdfObject)
Gets the object number of the specified object.
- GetReference(PdfObject)
Returns the PdfReference of the specified object, or null if the object is not in the document’s object table.
- MapExternalObject(PdfObject)
Maps the specified external object to the substitute object in this document. Returns null if no such object exists.
- RemoveObject(PdfObject)
Removes an object from the PDF document.
- WriteObject(Stream, PdfItem)
Writes a PdfItem into the specified stream.