We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I open a PdfDocument PdfDocument inputPDFDocument = PdfReader.Open(pdfFile, PdfDocumentOpenMode.Import);
I'm not able to check if it has an AcroForm inside.
I should be able to check something like inputPDFDocument.AcroForm != null
inputPDFDocument.AcroForm raises an invalidoperation exception
bool hasForm = (inputPDFDocument.AcroForm != null && inputPDFDocument.AcroForm.Elements.Count > 0); //unwanted Exception raised
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reporting an Issue Here
If I open a PdfDocument
PdfDocument inputPDFDocument = PdfReader.Open(pdfFile, PdfDocumentOpenMode.Import);
I'm not able to check if it has an AcroForm inside.
Expected Behavior
I should be able to check something like
inputPDFDocument.AcroForm != null
Actual Behavior
inputPDFDocument.AcroForm raises an invalidoperation exception
Steps to Reproduce the Behavior
bool hasForm = (inputPDFDocument.AcroForm != null && inputPDFDocument.AcroForm.Elements.Count > 0);
//unwanted Exception raised
The text was updated successfully, but these errors were encountered: