Table of Contents

Method MakeIndirect

Namespace
PdfSharp.Pdf.Advanced
Assembly
PdfSharp.dll

MakeIndirect(PdfObject, PdfDocument)

Makes a PDF object an indirect object of the specified document and returns a reference to it.

public static PdfReference MakeIndirect(PdfObject obj, PdfDocument doc)

Parameters

obj PdfObject

A newly created object.

doc PdfDocument

The PDF document the object is added as indirect object.

Returns

PdfReference