Debenu Quick PDF logo


Rendering and printing

Version history

This function was introduced in Quick PDF Library version 7.12.


This function renders a page from the selected document directly onto a graphics surface.

On Windows the target surface is a Device Context handle (DC).

By default rendering uses the GDI+ system which is available by default in Windows XP and later.

It is also possible to render using AGG, use the SetDPLRFileName and SelectRenderer functions.



function TDebenuPDFLibrary1511.RenderPageToDC(DPI: Double; Page: Integer; 
  DC: HDC): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::RenderPageToDC(DPI As Double,
  Page As Long, DC As Long) As Long


int DPLRenderPageToDC(int InstanceID, double DPI, int Page, HDC DC)


DPI The DPI to use when rendering the page
Page The page number to render
DC The device context handle

Return values

0 Page could not be rendered
1 Page was rendered successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport