Developer Posts

Extract images from PDF files as the appropriate image type

by Conor | March 6, 2015
Sometimes it’s necessary to extract images from PDF files and save them to disk. When this happens you’ll most likely want to save the image data back into the image format that it was originally in before it was added to the PDF. This can be tricky at times because some image formats such as […]
Keep reading Keep reading

Is a 64-bit HDC supported by RenderPageToDCClip?

by Conor | March 5, 2015
(The answer is no, not in the current Delphi source code version, but read below because the more accurate answer is “no, but that’s okay because Microsoft guarantees that only the bottom 32-bit range of handles is used in Windows”.) The current build system for the Delphi-based version of Foxit Quick PDF Library cannot handle […]
Keep reading Keep reading

How to quickly draw many paths in your PDF files

by Conor | February 23, 2015
Sometimes when drawing many paths on a PDF, for example when exporting thousands of lines from a CAD plot to a PDF, the process of drawing the paths can be slow. The slowness is related to the process of adding the required commands to the content stream and reallocating memory each time a new path […]
Keep reading Keep reading

Error: BadImageFormatException was unhandled

by Conor | February 4, 2015
Despite the unhelpful name, the BadImageFormatException error almost always results from confusion with 32-bit/64-bit DLLs and project settings. For example, you’ve tried to load a 32-bit DLL into a 64-bit application or you’ve tried to load a 64-bit DLL into a 32-bit application. This error message can be easily replicated in a 32-bit C# application […]
Keep reading Keep reading

Memory optimization tips when processing large PDF files

by Conor | January 13, 2015
When dealing with PDF files that are very large in file size (north of 1 GB) or PDF files that have many pages (north of 1,000 to 10,000 depending on documents contents) it is desirable or sometimes necessary to write code that ensures memory usage does not climb too high. We will continue to enhance […]
Keep reading Keep reading

Registration-free COM for ActiveX DLL and ActiveX Control

by Conor | December 2, 2014
Registration-free COM allows you to use an ActiveX DLL or ActiveX Control in your application without having to register the ActiveX on the end-users machine using regsvr32. It does this by creating a manifest file which if distributed with the executable means that no registration is required. This is only supported in versions of Windows XP […]
Keep reading Keep reading

Trial License Keys and Previous Trial Versions

by Conor | October 24, 2014
Under normal circumstances, a user can download and install a 30-day trial version of any Foxit product for each machine. Once that time has elapsed, the evaluation license will expire, and the software will be cease to function until it is activated by entering a full license key. If a new major update to the […]
Keep reading Keep reading

ASP.NET Web Site Projects and Foxit Quick PDF Library

by Conor | August 13, 2014
Foxit Quick PDF Library can be used in ASP.NET Website projects to add rich PDF features to websites. It works in much the same way as it does for regular desktop or server applications. Please note: there is a difference between a ASP.NET Website project and a ASP.NET Web Application project. This article deals with ASP.NET Website […]
Keep reading Keep reading
Used everywhere

Trusted by