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 PDF SDK for Linux
    Foxit PDF SDK for Mac
    Foxit PDF SDK for Windows

    How to import a template-based FDF to PDF

    FDF (Forms Data Format) is a kind of file format, used for interactive form data. If these FDF data are customized into a template, and then imported into the target PDF file according to the specified content of the template.

    Read Article
    Foxit PDF SDK

    About fdf/xfdf/xml

    Foxit PDF SDK, as an outstanding document processing tool, offers users abundant functionalities and high flexibility. Among them, the FDF, XFDF, and XML file formats play crucial roles in PDF processing. This article will provide you with a detailed introduction to these file formats, their definitions, uses, and their utilization within the Foxit SDK.

    Read Article
    Foxit PDF SDK for Linux
    Foxit PDF SDK for Mac
    Foxit PDF SDK for Windows

    How to work with associated files

    AF attributes are provided from the PDF 2.0 standard. AF Attributes (Attachment File Attributes) are metadata in PDF documents that allow additional files to be attached to PDF documents, such as Word documents, Excel tables, images, audio and video files, and more.

    Read Article
    Foxit PDF Conversion SDK

    How to convert pdf2office using node.js

    Foxit PDF Conversion SDK is a flexible, high-performance library to convert PDF files to MS office suite formats while maintaining the layout and format of your original documents. From version 1.0, Foxit PDF CONVERSION SDK has added support for the Node.js programming language, which is an open-source, cross-platform, server-side JavaScript runtime environment. With this new support for Node.js, developers can now use the Foxit PDF CONVERSION SDK to build powerful conversion tools and applications using the popular programming language.

    Read Article
    Foxit PDF SDK for Linux
    Foxit PDF SDK for Mac
    Foxit PDF SDK for Windows

    How to add, delete and modify the header-footer of PDF file

    What is the header-footer of PDF documents Located at the top and bottom of the PDF page, it can display page numbers, dates, and text. How to update header-footer of PDF file Call PDFDoc:: GetEditableHeaderFooter() to get the editable header and footer object. After adjusting the header and footer content, call PDFDoc:: UpdateHeaderFooter() to update the header and footer.

    Read Article
    Foxit PDF Conversion SDK

    How to convert office 2 pdf via Conversion SDK

    Office2PDF provides three conversion interfaces: ConvertFromWord, ConvertFromExcel, ConvertFromPowerPoint.In Foxit PDF Conversion SDK, these interfaces are defined in the header file ”fs_office2pdf.h”.Take “ConvertFromWord” as an example to introduce interface parameters in Windows.(The parameters of the two interfaces “ConvertFromExcel” and “ConvertFromPowerPoint” are similar to “ConvertFromWord”.)

    Read Article
    Foxit PDF SDK for Web

    How to use Foxit PDF SDK in a Web application’s server side

    In this tutorial, you’ll learn how to use Foxit PDF SDK in a Web application’s server side. Foxit PDF SDK supports Python, C#, and Java language for Web server development. The example in the current tutorial uses Python language to develop a simple web application demo.

    Read Article
    Foxit PDF SDK for Linux
    Foxit PDF SDK for Mac
    Foxit PDF SDK for Windows

    How to use PDFStructTree

    The structure tree in a PDF refers to the hierarchical organization and relationships between different elements within the document. It represents the logical structure of the content and is defined using a standard called Tagged PDF. The structure tree enhances accessibility and navigation in PDF documents, allowing individuals using assistive technologies to navigate the content more effectively.

    Read Article
    Foxit PDF SDK

    How to create a WPF-based app for PDF using GSDK

    In this tutorial, you’ll learn how to create a WPF (Windows Presentation Foundation)-based app for PDF using GSDK. You can use either .NET Framework or .NET Core as target framework version of the WPF (Windows Presentation Foundation)-based application.The target framework version for the WPF (Windows Presentation Foundation)-based app in this tutorial is dotnet6.0. It also supports other dotnet versions.

    Read Article