Flatten PDF file by PDF Form Filler SDK product

If I have a PDF form and I have an XML file what is the easiest and fastest way to save a flattened PDF form which has the merged XML data in the form?  I want to create a new pdf flattened form as quick as possible and I want to do it programmatically with no user intervention.
================================
Is it possible to flatten the PDF but exclude the first page of the pdf in the flattened file?
================================
>>If I have a PDF form and I have an XML file what is the easiest and
>>fastest way to save a flattened PDF form which has the merged XML data
>>in the form?  I want to create a new pdf flattened form as quick as
>>possible and I want to do it programmatically with no user intervention.

You can call PDFForm_MergeFDFIntoPDF() function to merge FDF and PDF file together, you can call PDFForm_FlattenPDF() function to flatten the PDF file, this method is the easiest and fastest way, for example,

PDFForm_SetLicenseKey("XXXXXXXXXXXXXXX");
bRet = PDFForm_MergeFDFIntoPDF(szInPDFFile, szInFDFFile, szOutPDFFile);
bRet = PDFForm_FlattenPDF(szOutPDFFile,szFlattenPDFFile);


>>Is it possible to flatten the PDF but exclude the first page of the pdf in the flattened file?

PDF Form Filler SDK hasn't an option to exclude the first page of the PDF file during flatten, PDFForm_FlattenPDF() function will flatten the all pages automatically.

VeryPDF
VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Random Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!