Hi,
I have tested this code and was able to reproduce the error. I have logged this as PDFNET-4226 in our issue tracking system. We will try our best to resolve this issue as soon as possible.
Thanks.
The problem has been resolved. Please try the attachment before we publish new hotfix. Thanks.
Best regards.