On Mon, 2019-02-18 at 14:12 +0100, Jacob Pedersen wrote: > I tried to follow what you suggest and it seems to work, however the > fil is now triple size instead of double (still missing lines+rects) > :) I probably am doing something wrong?
Hi, I'm sorry, but did you read the developer documentation of FillXObjectFromDocumentPage()? And for FillXObjectFromExistingPage()? That's quite obvious why the document is so large when you look at it. You might also want to use a PdfXObject constructor which "Create a new XObject from an existing page". That will make your code simpler. I'm not sure of the PdfXObject instance ownership, that would need some runtime testing. Bye, zyx _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users