Skip to main content

Interface IPdfObjectSource

Namespace: AdCodicem.Pdf.Objects
Assembly: AdCodicem.Pdf.dll

Supplies the objects an indirect reference points to.

public interface IPdfObjectSource

Remarks​

A reference never resolves through global state: it holds the source it came from, so objects from several documents can coexist in one process, and in one object graph, without ambiguity.

Methods​

GetObject(PdfObjectId)​

Returns the object with the given identifier, or PdfNull.Instance when the file does not define it — which the specification requires be treated as null rather than as an error.

PdfObject GetObject(PdfObjectId id)

Parameters​

id PdfObjectId

Returns​

PdfObject