Developer Posts

How to map PDF coordinates to Delphi graphics canvas coordinates

by Conor | August 6, 2014
Pages in a PDF use points (1/72 of an inch) as the default measurement units with the origin or the coordinate system at the bottom left corner of the page. The measurement units can be changed using the SetMeasurementUnits function to inches or millimetres. The origin can be set to the top-left corner of the page (or […]
Keep reading Keep reading

How to use rendering and printing add-on with Foxit Quick PDF Library

by Conor | June 20, 2014
Foxit Quick PDF Library has a new rendering and printing add-on which provides much improved support for transparency, shading patterns and tiling patterns when rendering and printing PDF files. This new rendering engine is part of Foxit Quick PDF Library. It is a separate DLL which will need to be copied, loaded and then called from within your […]
Keep reading Keep reading

Detecting empty pages

by Conor | June 16, 2014
From time to time, it can be necessary to detect and process empty pages. For example, one might want to delete blank all pages or add a “This Page Intentionally Left Blank” stamp to each page. Nevertheless, detecting empty PDF pages can pose special challenges due to the nature of PDF files. Although PDF is […]
Keep reading Keep reading

ASP.NET and Foxit Quick PDF Library

by Conor | May 22, 2014
Foxit Quick PDF Library can be used in ASP.NET projects to add rich PDF features to web apps or web sites. It works in much the same way as it does for regular desktop or server applications. We have three different tutorials which cover the different ASP.NET project types and how to use Foxit Quick […]
Keep reading Keep reading

Working around the Delphi character limit for JavaScript strings

by Conor | May 20, 2014
Problems can arise when working with longer JavaScript strings using Foxit Quick PDF Library. Essentially, these issues occur due to the nature of Delphi, the programming language in which Foxit Quick PDF Library is written. Delphi has a hard 255-character limit for string constants, which means that longer strings can’t be used in the standard […]
Keep reading Keep reading

How PDF files are displayed

by Conor | May 13, 2014
PDF is not itself a display format, but rather a container for content. Regardless of which specific technology is used, PDF files are prepared for display through a process known as “rendering”. As outlined in this blog post, this involves parsing PDF content and translating it into a form, such as an image, that can […]
Keep reading Keep reading

Error: ActiveX component can’t create object

by Conor | May 13, 2014
The following error message is shown sometimes when using ASP, VBScript, Microsoft Access, VBA and other technologies: ActiveX component can’t create object As the error message describes the ActiveX component can’t create the referenced object. This usually occurs when the ActiveX edition of Foxit Quick PDF Library has not been successfully registered using regsvr32 on the […]
Keep reading Keep reading

Can Foxit Quick PDF Library print PDF forms that use XFA form fields?

by Conor | May 9, 2014
There are two types of PDF forms – XFA and AcroForms. An XFA form will always have a corresponding AcroForm. When getting/setting XFA form fields – Foxit Quick PDF library only changes the XML description of the fields in the PDF. When setting the AcroForm fields, and appearance stream can be generated for the form […]
Keep reading Keep reading

Custom printing options

by Conor | May 6, 2014
Foxit Quick PDF Library can print PDF files to installed physical printers (e.g. Lexmark S300 Series) or virtual printers (e.g. Microsoft XPS Document Writer). If you do not need granular control over the printer settings then you can use the PrintDocument and PrintOptions functions. However, if you need to control exactly what is happening when the […]
Keep reading Keep reading
Used everywhere

Trusted by