Foxit Developer Blog

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

    Foxit Quick PDF Library

    Error: ActiveX component can’t create object

    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 [...]

    Read Article
    Foxit Quick PDF Library

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

    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 [...]

    Read Article
    Foxit Quick PDF Library

    Custom printing options

    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 [...]

    Read Article
    Foxit Quick PDF Library

    Print existing PDF files to an installed printer

    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 [...]

    Read Article
    Foxit Quick PDF Library

    Why you cannot combine Direct Access and Standard Functions

    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, [...]

    Read Article
    Foxit Quick PDF Library

    Default page size for a new page in Foxit Quick PDF Library

    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 [...]

    Read Article
    Foxit Quick PDF Library

    Ambiguity between class ‘DebenuPDFLibraryAX1014.PDFLibrary’ and interface ‘DebenuPDFLibraryAX1014.PDFLibrary’

    When using the ActiveX edition of Foxit Quick PDF Library in Visual Studio it is possible to come across this error message: Ambiguity between class ‘DebenuPDFLibraryAX1014.PDFLibrary’ and interface ‘DebenuPDFLibraryAX1014.PDFLibrary’ As the error message suggests Visual Studio is confused because it has found two references to “DebenuPDFLibraryAX1014.PDFLibrary”. One is coming from the Foxit Quick PDF Library [...]

    Read Article
    Foxit Quick PDF Library

    Error message: “XXXX was compiled with a different version of/from XXXX”

    This general form of message in Delphi indicates a referencing error. In essence, it is produced when Delphi settings on the IDE or Project level contain references to multiple versions of the same library. Specific examples include: “Unit QuickPDF0724 was compiled with a different version of Printers.TPrinter” “Unit QuickPDFExtra was compiled with a different version [...]

    Read Article
    Foxit Quick PDF Library

    FireMonkey Compatibility

    FireMonkey is a modern cross-platform GUI framework developed by Embarcadero Technologies for Delphi and C++ Builder. The Delphi edition of Foxit Quick PDF Library is fully compatible with FireMonkey applications for Windows and Mac development through the Delphi IDE. Foxit Quick PDF Library does not currently support iOS and Android. This article refers to a deprecated [...]

    Read Article
    Foxit Quick PDF Library

    Releasing buffer memory when using DLL or LIB edition

    With a DLL there are a few different ways of handling memory. Many libraries ask the user to create the buffer but with the DLL and LIB editions of Foxit Quick PDF Library the library itself maintains the buffer. So if you call a certain function that returns a string then that memory will be kept [...]

    Read Article