Saving process after drawing rectangle takes forever

I have a PDF and I simply draw a rectangle on the page (any rectangle will do), then saving the file will take forever, and the file is never saved.

example.pdf (5.8 KB)

Code: (247.8 KB)


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-52382. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.