Method MakeIndirect
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
objPdfObjectA newly created object.
docPdfDocumentThe PDF document the object is added as indirect object.