Table of Contents

Method SetReference

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

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

key string
obj PdfObject

SetReference(string, PdfReference)

Sets the entry to an indirect reference.

public void SetReference(string key, PdfReference iref)

Parameters

key string
iref PdfReference