Hi, we where trying to get some information about a pdf from code.
We would like to know if a pdf is compliant to pdf/a standards and we would like to know if there is a valid signature on the pdf document.
Can this be done from code?
Best regards, Erwin
Validation of possible signatures and compliancy
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 42
- Joined: Mon Oct 10, 2011 9:03 am
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Validation of possible signatures and compliancy
Hi, Erwin.
HTH
Use the:We would like to know if a pdf is compliant to pdf/a standards.
Code: Select all
object dataOut;
pdfViewer.GetDocumentProperty(docId, "PDFA", out dataOut, 0);
bool isPDFACompilant = (bool)dataOut;
It is impossible in current version. You will be able to get this info only with new Editor's SDK (coming soon).we would like to know if there is a valid signature on the pdf document.
HTH
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 42
- Joined: Mon Oct 10, 2011 9:03 am
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am