Foxit Developer Blog

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

    Foxit WebPDF Viewer - Discontinued

    Why can’t I open the file with the previous URL?

    When a user opens a PDF file within WebPDF Viewer, the URL actually points a database. So if the cache in the database of the PDF file has been cleared, the URL will not work again. In this case, the user should reopen the file through the file system to reactivate the cache. Note: This [...]

    Read Article
    Foxit WebPDF Viewer - Discontinued

    Is there any file size limitator for WebPDF Viewer?

    Yes. Foxit WebPDF Viewer only Supports PDF files under 200MB. Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit WebPDF Viewer, please refer to your download package documents for Developer Guide and API Reference. Get a trial version of Foxit PDF SDK for Web and see [...]

    Read Article
    Foxit Quick PDF Library

    Extract text from PDFs as a text block list

    Foxit Quick PDF Library provides an extensive API for programmatically extracting text from PDF files. This includes the options of just plain text output and also returning the text in a formatted CSV string with details about the font, size and style of the text. The API now includes additional text extraction functions for extracting [...]

    Read Article
    Foxit Quick PDF Library

    Memory Management and the DLL and LIB editions of Foxit Quick PDF Library

    The creation and release of memory buffers are handled automatically in most scenarios by the DLL and LIB editions of Foxit Quick PDF Library. There is an internal buffer where all string results are stored. The AnsiStringResultLength function can be called to get the length of this buffer. This function returns the length of the most [...]

    Read Article
    Foxit Quick PDF Library

    Incremental Updates in PDF files

    Incremental updates provide a method for updating a PDF file without completely re-writing it, according to the PDF specification (1.7), incremental updates work like this: The contents of a PDF file can be updated incrementally without rewriting the entire file. Changes are appended to the end of the file, leaving its original contents intact. This [...]

    Read Article
    Foxit Quick PDF Library

    Extract paths from a PDF

    Foxit Quick PDF Library does not currently support the extraction of path information. However, the GetContentStreamToString function will extract the content stream which contains all of the drawing commands. You would need to parse the content stream to extract the paths as well as processing transformations including rotation and scaling. Here is the contents of [...]

    Read Article
    Foxit Quick PDF Library

    Programmatically find and replace URL links in PDF files

    Foxit Quick PDF Library has an extensive API for programmatically working with links in PDF files. In the sample code below we demonstrate how to find all URLs in a PDF and then check to see if it matches our predefined URL and if it does then we replace it. This sample just works with URLs [...]

    Read Article
    Foxit Quick PDF Library

    Controlling the precision of numeric values in PDF files

    Foxit Quick PDF Library includes a function called SetPrecision which allows you to control the precision of numeric values in PDF files. In a PDF all numeric values are stored as strings. So using a smaller precision would mean a number takes up less characters in the file. If a PDF has a lot of complex [...]

    Read Article
    Foxit Quick PDF Library

    Setup Android Studio and Foxit Quick PDF Library

    This tutorial demonstrates how to use Foxit Quick PDF Library to create an Android app using Android Studio. If you haven’t already downloaded the Android trial then you can do that from the trial here. Setup Android Studio project with Foxit Quick PDF Library Open Android Studio. If Quick Start window is displayed then click [...]

    Read Article
    Foxit Quick PDF Library

    Create an emulator for testing in Android Studio

    This article is intended for users of Foxit Quick PDF Library for Android. The Android Virtual Device (AVD) is an emulator configuration that lets you model an actual device by defining hardware and software options to be emulated by the Android Emulator. It comes as an optional download when you install Android Studio. Please note: [...]

    Read Article