Developer Posts

Developer Guide for Foxit PDF SDK for Web (9.2)

by Cynthia Chen | December 1, 2023
Foxit PDF SDK for Web Overview Foxit PDF SDK for Web is a lightweight powerful PDF library for web applications developed taking all advantages of Foxit’s signature core rendering engine. Using the SDK, developers can deploy and customize a complete PDF viewer to display, annotate, fill forms and sign documents in a web browser. Integrating […]
Keep reading Keep reading

How to use ActionCallback

by jinbiao zhang | December 1, 2023
How to trigger JavaScript //JsActionCallback is the implementation class of ActionCallback. JsActionCallback* action_handler = new JsActionCallback(); Library::SetActionCallback(action_handler); Form form(pdf_doc); PDFPage pdf_page = pdf_doc.GetPage(0); //Set JavaScript for the button. Control control = form.GetControl(pdf_page, 0); Widget widget_annot = control.GetWidget(); AdditionalAction widget_aa(widget_annot); Action action = Action::Create(pdf_doc, Action::e_TypeJavaScript); JavaScriptAction javascipt_action(action); javascipt_action.SetScript(L"JavaScript code"); widget_aa.SetAction(AdditionalAction::e_TriggerAnnotMouseButtonPressed, javascipt_action); //Trigger JavaScript Script. widget_aa.DoJSAction(AdditionalAction::e_TriggerAnnotMouseButtonPressed) How […]
Keep reading Keep reading

How to configure MIME types in IIS

by PDF SDK | November 15, 2023
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 […]
Keep reading Keep reading

How to import a template-based FDF to PDF

by Qiming Wang | October 16, 2023
Support environment  Platform: Windows, Mac, LinuxProgramming Language: C++, Dotnet, Dotnetcore, Java, Python,Windows C, Objective-CLicense Key requirement: StandardSDK Version: Foxit PDF SDK 8.4 or later What’s template-based FDF 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 […]
Keep reading Keep reading

About fdf/xfdf/xml

by Qiming Wang | October 12, 2023
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. What […]
Keep reading Keep reading

How to generate fill-sign object in pdf file

by Qiming Wang | October 12, 2023
System requirements Platform: Windows, Mac, LinuxProgramming Language: C, C++, C#, Dotnetcore, Java, Python, Objective-CLicense Key requirement: standard license keySDK Version: Foxit PDF SDK 8.4 or later What is the fill-sign? Fill and Sign is a modern document processing feature mainly used to fill out forms in PDF documents and sign documents. It allows users to […]
Keep reading Keep reading

How to work with associated files

by Qiming Wang | October 12, 2023
System requirements Platform: Windows, Mac, LinuxProgramming Language: C, C++, C#, Java, Python, Objective-CLicense Key requirement: standard license keySDK Version: Foxit PDF SDK 6.0 or later What is the “AF” attributes of PDF? AF attributes are provided from the PDF 2.0 standard. AF Attributes (Attachment File Attributes) are metadata in PDF documents that allow additional files […]
Keep reading Keep reading

How to convert pdf2office using node.js

by Qiming Wang | October 11, 2023
System requirements Platform: WindowsProgramming Language: Node.jsLicense Key requirement: ‘pdf2office’ module permission in the license keySDK Version: Foxit PDF CONVERSION SDK 1.0 or later 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 […]
Keep reading Keep reading

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

by Qiming Wang | October 10, 2023
System requirements Platform: Windows, Mac, LinuxProgramming Language:  C,C++, C#, Dotnetcore, Java, Python, Objective-CLicense Key requirement:  standard license keySDK Version: Foxit PDF SDK 7.2 or later 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:: […]
Keep reading Keep reading
Used everywhere

Trusted by