Developer Posts

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 Cynthia Chen | 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

How to Implement Foxit PDF SDK for Android using Flutter Plugin

by Conor Smith | February 26, 2019
Flutter is Google’s own framework for cross-platform mobile development. It was built using Dart, a portable and easily scalable Google programming language. Most efficient in the development of Android and iOS apps, Dart also has the same abstraction level as Javascript, which makes developing its apps to the Web effortless. This section will help you […]
Keep reading Keep reading

How to use XFA Forms in Foxit PDF SDK

by Conor Smith | February 18, 2019
What are XFA forms? PDF currently supports two different forms for integrating data – Acroforms and XFA forms. Acroforms are the original PDF-based fillable forms, based on the PDF architecture. XFA (XML Forms Architecture) are XML-based forms, wrapped inside a PDF. The XML Forms Architecture provides a template-based grammar and a set of processing rules […]
Keep reading Keep reading
Used everywhere

Trusted by