Method SetReference
SetReference(string, PdfObject)
Sets the entry to an indirect reference. The specified object must be an indirect object, otherwise an exception is raised.
[Obsolete("Use SetObject with an indirect object.")]
public void SetReference(string key, PdfObject obj)
Parameters
keystringobjPdfObject
SetReference(string, PdfReference)
Sets the entry to an indirect reference.
public void SetReference(string key, PdfReference iref)
Parameters
keystringirefPdfReference