Converting Pixels and Inches to PostScript Points

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. So there is a constant 72 involved in calculations when converting to or from points in PDF. This is the ratio of the “points” measurement units […]

Is printing PostScript to PDF supported?

No, the Postscipt functions in Debenu Quick PDF Library such as DrawPostScriptXObject will only embed existing postscript commands into a PDF. This is mainly done for printers. Most, if not all PDF viewers do not contain any Postscript rendering functionality so you page may be technically correct but there is not viewer that can render it. […]

Create links to dial a phone from a PDF link on mobile devices

In a recent post titled Dial a Phone from a PDF Link on Mobile Devices on the Acrobat For Legal Professionals blog it was demonstrated how you can create a web link in a PDF that when clicked on an mobile device would dial the phone number. Well it is easy to add these links programmatically […]

Is Debenu Quick PDF Library thread-safe?

Usually when the phrase “thread safe” is used it means that the same instance of the library can be accessed by different threads at the same time. This means that Debenu Quick PDF Library is not thread safe because a single instance of Debenu Quick PDF Library can only be accessed by the thread that […]

Error: BadImageFormatException was unhandled

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

Registration-free COM for ActiveX DLL and ActiveX Control

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 and […]

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 Debenu Quick PDF Library has not been successfully registered using regsvr32 on the […]

Why you cannot combine Direct Access and Standard Functions

A selection of Debenu 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, […]

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

Unless page size is otherwise specified, new pages created using Debenu 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 […]

Does Debenu Quick PDF Library work with .NET?

Yes, Debenu Quick PDF Library works with the .NET framework. Debenu Quick PDF Library has an ActiveX and DLL edition that can be used with the .NET framework via an interop assembly. We also provide special import classes for C# and Visual Basic for both the DLL and ActiveX editions to make development easier. With […]