Foxit Developer Blog

    Insights, tutorials, and updates from the Foxit PDF SDK engineering team.

    Foxit PDF SDK for Web

    How to configure MIME types in IIS

    When using IIS to run Foxit PDF SDK for WEB, we may encounter some resource file parsing errors that lead to access failure. At this time, we need to configure the MIME type of IIS. Let’s take Windows Server 2019 for example, here are the steps: 1. Open the Microsoft IIS management console, then select [...]

    Read Article
    Foxit SDK .NET

    Is it possible to flatten Form Fields on PDF using Foxit Merger for .NET?

    Yes. However, Foxit Merger for .NET SDK does not flatten images, stamps, text and comment boxes.

    Read Article
    Foxit SDK .NET

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

    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 = [...]

    Read Article
    Foxit SDK .NET

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

    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");

    Read Article
    Foxit SDK .NET

    Flatten all the form fields from a document using Foxit PDF .NET SDKs

    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 [...]

    Read Article
    Foxit SDK .NET

    How is the licensing information included in my .NET redistributable application?

    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.

    Read Article
    Foxit PDF SDK for Web 6.2
    Foxit WebPDF Viewer - Discontinued

    Is it possible to open a file URL using WebPDF Viewer?

    Yes. The function openFileByUri can open a file from a URL: params = { url: the file url} WebPDF.ViewerInstance.openFileByUri(params)

    Read Article
    Foxit PDF SDK for Web 6.2
    Foxit WebPDF Viewer - Discontinued

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

    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 ‘webpdfsamplewebpdf-extension-sample’, specifically , DocumentController.java 2 – Modify the javascript file apiConfig.js [...]

    Read Article
    Foxit PDF SDK for Web 6.2
    Foxit WebPDF Viewer - Discontinued

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

    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 [...]

    Read Article
    Foxit PDF SDK for Android

    How to Implement Foxit PDF SDK for Android using Flutter Plugin

    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 [...]

    Read Article