Developer Posts

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

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading

Is there any file size limitator for WebPDF Viewer?

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading

Extract text from PDFs as a text block list

by Conor | August 18, 2015
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 […]
Keep reading Keep reading

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

by Conor | August 14, 2015
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 […]
Keep reading Keep reading

Incremental Updates in PDF files

by Conor | August 5, 2015
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 […]
Keep reading Keep reading

Extract paths from a PDF

by Conor | July 30, 2015
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 […]
Keep reading Keep reading

Programmatically find and replace URL links in PDF files

by Conor | July 30, 2015
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 […]
Keep reading Keep reading

Controlling the precision of numeric values in PDF files

by Conor | July 6, 2015
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 […]
Keep reading Keep reading

Setup Android Studio and Foxit Quick PDF Library

by Conor | July 3, 2015
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 […]
Keep reading Keep reading
Used everywhere

Trusted by