By default, digital signatures will be flattened along with all the other form fields in the PDF. If you wish to retain the digital signatures during the flattening, you can use the DigitalSignatures property of FormFlatteningOptions. Adding the following line to the above example would retain all the digital signatures. Using Visual Basic: document.Form.SignatureFieldsOutput = […]
The following examples demonstrates how to flatten an individual form field within a PDF: Using Visual Basic: Dim document As MergeDocument = New MergeDocument("C:\AcroForm.pdf") document.Form.Fields(0).Output = FormFieldOutput.Flatten document.Draw(@"C:\AcroForm_Flattened.pdf"); Using C#: MergeDocument document = new MergeDocument(@"C:\AcroForm.pdf"); document.Form.Fields[0].Output = FormFieldOoutput.Flatten; document.Draw(@"C:\AcroForm_Flattened.pdf");
Flattening the form fields of a PDF is the process that will take the values of the form fields, add them to the actual PDF stream and then remove all of the form field structures from the document. The advantages of flattening form fields are that you achieve a PDF that is simpler and smaller […]
With a developer license of Foxit .NET SDKs, your unique license key is embedded in your application or added with one line of code when your application starts.
Introduction to Foxit PDF SDK Have you ever thought about building your own application that can do everything you want with PDF files? If your answer is “Yes”, congratulations! You just found the best solution in the industry that allows you to build stable, secure, efficient and full-featured PDF applications. Foxit PDF SDK provides high-performance […]
Is it possible to retrieve a file from an external server using WebPDF Viewer? Yes. To achieve the file retrieve using WebPDF Viewer, follow the steps below: 1 – Deploy your own document server. We provide Foxit WebPDF users with a Java sample code for reference. It is available in ‘webpdf\sample\webpdf-extension-sample’, specifically , DocumentController.java 2 – Modify the javascript file apiConfig.js […]
When a file has errors opening exclusively on Microsoft Edge or IE, most times it is related to the initialization of the REST API. To fix that, you need to call the WebPDF.ViewerInstance.updateCurrentUserInfo() to make sure the API is running successfully and generating an Access Token. You can find the front-end WebPDF Viewer example code […]