Posted by a ceTe Software moderator
Hello,
It is not possible to determine if the PDF document has unlicensed features that might trigger the watermark. In order to open the password protected PDFs you would need to provide a password to the PdfDocument constructor along with the file name. Instead use the PdfDocument constructor that takes only the PDF file name. If the PDF requires a password you would receive a PdfSecurityException which can be captured in a try..catch to determine if the PDF requires a password or not.
Thanks,
ceTe Software Support Team.