Insights, tutorials, and updates from the Foxit PDF SDK engineering team.
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
Foxit Quick PDF Library can print PDF files to an installed printer using the PrintDocument function. PDF files can be printed to any installed printer driver regardless of whether it is for a physical printer or a virtual printer such as Microsoft XPS Document Writer. There are a range of other printing related functions that can [...]
A selection of Foxit Quick PDF Library features can be accessed through Direct Access (DA) functions. The names of DA functions are similar to those of their equivalent standard functions, but begin the the prefix “DA”. Direct Access functions require significantly less memory than standard functions. While standard functions load entire PDF files into memory, [...]
Unless page size is otherwise specified, new pages created using Foxit Quick PDF Library will correspond to the Letter standard size. Respectively, this corresponds to: 612.0 x 792.0 pt 8.50 x 11.0 in 215.9 x 297.4 mm 21.857 x 27.937 cm If this is not the desired page size, a new page size can be [...]