I got a circular reference when copying pages from a file. The problem was in this procedure of documents/page.cs:
public override object Clone(Document context)
For the moment, I solved it excluding PdfName.B of cloning:
// Is the entry unwanted?
|| key.Equals(PdfName.B)) // Line added to avoid circular reference
Log in to post a comment.