Foxit Developer Blog

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

    Foxit Quick PDF Library

    PHP and Windows with the ActiveX edition of Foxit Quick PDF Library

    PHP developers can use the ActiveX edition of Foxit Quick PDF Library to add PDF functionality to their PHP websites running on the Windows operating system. Here’s a quick guide on how to get up and running: The first thing you’ll need to do is register the ActiveX edition of Foxit Quick PDF Library. The sample [...]

    Read Article
    Foxit Quick PDF Library

    How can I programmatically detect color PDF files versus black and white PDF files?

    One method is to render each page to an image file and then check each pixel for RGB values not equal to each other. If R=G=B for each pixel then it’s a grayscale image. This should allow you to determine if a PDF file is color or black and white. There isn’t a document wide [...]

    Read Article
    Foxit Quick PDF Library

    How do I create an InstanceID in Foxit PDF Library Lite?

    Foxit Quick PDF Library Lite is an ActiveX and so does not require an Instance ID. The Instance ID is only required by the DLL edition of the commercial version of Foxit Quick PDF Library. In addition, you do not need to — indeed, you cannot — call the UnlockKey function when using Quick PDF Library Lite [...]

    Read Article
    Foxit Quick PDF Library

    Foxit Quick PDF Library and Mac Xcode Projects

    Several sample projects are provided with the download files for the Dylib edition of Foxit Quick PDF Library for Mac OS X. We recommend that you start your evaluation of Foxit Quick PDF Library on Mac using these sample projects as they provide a useful guide for how to initialise the library inside an Xcode project [...]

    Read Article
    Foxit Quick PDF Library

    Programmatically render PDF files in Windows Forms with .NET and C#

    Foxit Quick PDF Library can render a PDF as an image so that you can place it in your .NET application. Sample code using C# is provided below. private void Form1_Load(object sender, EventArgs e) { // Remember to initialize the library and call the // UnlockKey function with your license key before // calling the following [...]

    Read Article
    Foxit Quick PDF Library

    Add visual digital signature to a PDF programmatically

    Foxit Quick PDF Library lets you add visual digital signatures to PDF files programmatically with a few simple lines of code.

    Read Article
    Foxit Quick PDF Library

    Control the compression of JPG images during conversion to PDF

    The quality level of JPG images during conversion can be controlled using the SetJPEGQuality function. A number between 1 and 100 indicating the quality of the image. The higher the value, the better the image quality, but the larger the file size. The lower the value, the smaller the resulting file size, but at the [...]

    Read Article
    Foxit Quick PDF Library

    Adobe Reader Extensions / Usage Rights

    How to work with the document using products other than Adobe Reader or Adobe Acrobat without experiencing any issues.

    Read Article
    Tech

    Foxit® releases PDF SDK ActiveX 5.0

    New Enhancements Include Digital Signature, Multi-Instance Support, Image Conversion, Document Organization, and Asynchronous Operations for PDF Documents FREMONT, Calif. – January 16, 2013 – Foxit® Corporation, a leading provider of solutions for reading, editing, creating, organizing, and helping secure PDF documents, today announced the availability of Foxit PDF SDK ActiveX 5.0. The new release of the Software Development Kit [...]

    Read Article
    Foxit Quick PDF Library

    Programmatically insert pages from one PDF file to another PDF file

    There are two different ways that this can be done depending on your exact requirements. I’ve included details of two different scenarios below as well as some sample code. Scenario #1: You want to extract various pages from an existing document (original.pdf) and create a new document (extracted_pages.pdf) that only consists of the extracted pages. [...]

    Read Article