Foxit Developer Blog

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

    Foxit PDF SDK for Web 6.2

    How to use Foxit PDF SDK for Web Encryption API?

    From Foxit PDF SDK for Web 6.2, we’ve implemented a solution for a more secure client-server data transfer process. This article will provide a step-by-step tutorial on how to set up your environment to use our encryption API and safely encrypt your PDFs from your server to your end-user client browser. For that, we will [...]

    Read Article
    Foxit Quick PDF Library

    What is the difference between DLL and CPDLL?

    In version 16 of Foxit Quick PDF Library, you might have noticed that there is a new DLL called CPDLL in your download package. What does that mean? We’ve seem some users asking about the CPDLL. Here are the key differences and news about this new version of library: As most of our users who [...]

    Read Article
    Foxit PDF SDK for Web 6.2

    Customize your context menu (right-click) in Foxit PDF SDK for Web

    The newly released minor version 6.2 of Foxit PDF SDK for Web allows you to customize what goes on your context menu when users right-click on the PDF screen. In this article, we will provide a few handy tutorials to customize your context menu. Default Context Menus In our current demo, this is how the [...]

    Read Article
    Foxit PDF SDK for Web 6.2

    Customizing top/bottom toolbar using Foxit PDF SDK for Web

    Foxit PDF SDK for Web’s customization possibilities are endless and easy to implement in your online viewer. In this article, we will show you how to easily add a simple toolbar to a HTML page and create multiple types of buttons within the library’s present functionality. Create a simple toolbar Let’s start with the basics. [...]

    Read Article
    Foxit PDF SDK for Web 6.2

    Foxit PDF SDK for Web Toolbar Components Structure

    This article will show you how Foxit PDF SDK toolbar components are structured and organized. This is very important in order to customize your toolbar according to your own needs and layout and have a viewer that attends specifically to what your visual identity or functionality requires. Components All component types support the ‘type’ and [...]

    Read Article
    Foxit PDF SDK for Web 6.2

    Implement a Snapshot button in Foxit PDF SDK for Web

    The snapshot functionality is disabled by default in Foxit PDF SDK for Web UI, but it is included in the viewer core and you can implement easily. This article shows the many ways you can implement that useful tool in your application. Enable the built-in button Following this tutorial, this is how the default UI [...]

    Read Article
    Foxit PDF SDK for Web

    Quick Start Guide for PDF SDK for Web

    This Foxit quick start guide will describe how to easily set up the web viewer using Nginx and Tomcat as the HTTP service.

    Read Article
    Foxit PDF SDK for iOS

    How to fix the “Invalid Binary Architecture” error when publishing app to Apple App Store?

    Foxit SDK Framwork includes arm64, armv7, i386, and x86_64 architectures, but the i386, and x86_64 architectures are not allowed to be uploaded to Apple App Store so that you will meet the “Invalid Binary Architecture” error if you use the framework directly. To solve this problem, Foxit SDK provides a script named “prepare-framework-to-publish-to-appstore.sh” found in [...]

    Read Article
    Foxit PDF SDK for iOS

    How can I set the night mode color?

    From version 5.1, Foxit PDF SDK for iOS supports setting the night mode color as desired. To set the night mode color, you should set the properties FSPDFViewCtrl.mappingModeBackgroundColor and FSPDFViewCtrl.mappingModeForegroundColor at first, and then set the FSPDFViewCtrl.colorMode to FSRendererColorModeMapping. Note: If the FSPDFViewCtrl.colorMode has already been set to FSRendererColorModeMapping, you still need to set it [...]

    Read Article
    Foxit PDF SDK for iOS

    How to print a PDF document using Foxit PDF SDK for iOS?

    Foxit PDF SDK for iOS supports the print feature since version 5.1. You can press the Wireless Print button on the More Menu view in the Complete PDF viewer demo to print the PDF document. Furthermore, you can call the following API to print the PDF documents: // for iPhone and iTouch (void)printDoc: (FSPDFDoc *)doc [...]

    Read Article