Use this code to programmatically determine if a PDF document is an AcroForm: bool hasAcroFormFields = false;if(doc.Root.Contains("AcroForm")){var AcroFormDict = doc.Root.Get("AcroForm") as PDFDict;hasAcroFormFields = AcroFormDict.Contains("Fields") ... Read More
APDFL: Properties and Metadata
You can change the XMP metadata in a PDF/A compliant document to remove the PDF/A schema from that document. This will convert it into a non-conforming file. Add the code blocks provided below to your own application to edit a PDF document and make... Read More
The first line of every PDF document is a file header with the characters “%PDF-“ followed by a version number, shown as “1.n,” where “n” would be a digit from 0 to 7. So the first line of a PDF document might look like this: %PDF-1.7... Read More
You can specify an earlier version if you like, but this does not actually affect the metadata content that is generated for the PDF document. What you are doing is changing the version number so that the document will pass review. This change does... Read More
The data that comprises a PDEPath object can be obtained from the PDEPathGetData() API. This is raw data containing the operands and operators (moveto, lineto, etc.) that draw the path. If you are trying to recognize the shape of the PDEPath,... Read More
The first line of every PDF document is a file header with the characters “%PDF-“ followed by a version number, shown as “1.n,” where “n” would be a digit from 0 to 7. So the first line of a PDF document might look like this: %PDF-1.7 The... Read More
You can list document properties for a PDF document found in the Document Information Dictionary. The properties stored in the Document Information Dictionary are are presented as a series of name/string couplets, each one a key with a value. Many of... Read More