Developer Posts

Is it possible to prevent digital signatures when flattening form fields using Foxit PDF.NET SDKs?

by Conor Smith | March 7, 2019
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 = […]
Keep reading Keep reading

How to flatten an individual form field using Foxit PDF .NET SDKs

by Conor Smith | March 7, 2019
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");
Keep reading Keep reading

Developer Guide for Foxit PDF SDK for Mac Objective-C (6.4)

by jinbiao zhang | March 6, 2019
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 […]
Keep reading Keep reading

Is it possible to retrieve a file from an external server using WebPDF Viewer?

by Conor Smith | March 5, 2019
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 […]
Keep reading Keep reading

How to fix open file error on IE and Microsoft Edge browsers?

by Conor Smith | March 5, 2019
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 […]
Keep reading Keep reading
Used everywhere

Trusted by