You searched for Render - Foxit SDK Knowledge Base

Search Results for 'Render'

Is a 64-bit HDC supported by RenderPageToDCClip?

(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 Debenu Quick PDF Library cannot handle […]

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

Debenu 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 Debenu Quick PDF Library. It is a separate DLL which will need to be copied, loaded and then called from within your […]

How to render PDF page to device context using Delphi

In this post I would like to show you how easy it is to render a page from a PDF onto a graphic surface using Delphi and Debenu Quick PDF Library. The graphic surface in the Windows operating system is called a Device Context handle (DC). Debenu Quick PDF Library contains two different functions that can help us accomplish this. We can […]

Programmatically render PDF files in Windows Forms with .NET and C#

Debenu Quick PDF Library can render a PDF as an image so that you can place it in your .NET application. Sample code using C# is provided below. private void Form1_Load(object sender, EventArgs e) { // Remember to initialize the library and call the // UnlockKey function with your license key before // calling the […]

Render a PDF as an image with an asymmetrical DPI

The current rendering engine is set up to use the same DPI setting for both the horizontal and vertical axis. So it isn’t possible to render an image with an asymmetrical DPI, however, it is possible to get the same effect though by stretching the page. Here’s some pseudo code that shows how to do […]

Memory Management and the DLL and LIB editions of Debenu Quick PDF Library

The creation and release of memory buffers are handled automatically in most scenarios by the DLL and LIB editions of Debenu Quick PDF Library. There is an internal buffer where all string results are stored. The AnsiStringResultLength function can be called to get the length of this buffer. This function returns the length of the […]

Setup Android Studio and Debenu Quick PDF Library

This tutorial demonstrates how to use Debenu Quick PDF Library to create an Android app using Android Studio. If you haven’t already downloaded the Android trial then you can do that from the trial here. Setup Android Studio project with Debenu Quick PDF Library Open Android Studio. If Quick Start window is displayed then click […]

Merge content from multiple pages into one page

Sometimes it’s necessary to customize the content of a document on the fly from templates. There’s various different ways this can be done, but one way is to have a template with different content on each page of a document and then based on certain criteria (i.e. content from page 1, 5, 8 is required […]

Programmatically determine the content area of a page in a PDF

It’s easy to determine the size of a page by using the PageHeight and PageWidth, but it’s a little more difficult to determine the rectangular content area of a page. There are functions in the library for returning the text coordinates such as GetPageText and there’s functions for determining the coordinates of images, but there’s […]

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