Print Page | Close Window

How to render to more than one Page

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3257
Printed Date: 23 Nov 24 at 1:30AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How to render to more than one Page
Posted By: lakkan
Subject: How to render to more than one Page
Date Posted: 04 Feb 16 at 9:27AM
Hi,

platform: Win32C

Could you please tell us, how to render more than one page to DC at once, using 
RenderPageToDC  functionality.

Regards
LakkanCry



Replies:
Posted By: Ingo
Date Posted: 04 Feb 16 at 10:21PM
Hi Lakkan,

you can start more than one instance ... then it should work.
If you're working on the same file then you should open it in read mode only.
Here's a bit background:
http://www.debenu.com/kb/is-debenu-pdf-library-thread-safe/
http://www.debenu.com/docs/pdf_library_reference/DAOpenFileReadOnly.php

BTW: Here you can insert all your interesting keywords and search for articles, kb-content and references:
http://www.debenu.com/docs/pdf_library_reference/Search.php



-------------
Cheers,
Ingo



Posted By: BobW
Date Posted: 07 Mar 16 at 8:40PM
I'm using a printer control defined as VSP.  ii and Result are longs, QP is a Quick PDF object with an open file.

I've done it in a for loop like this:

for ii = 1 to QP.PageCount
    Result = QP.RenderPageToDC(VSP.DPI, ii, VSP.HDC)
    if ii <> QP.PageCount then VSP.Newpage
next ii

Warning:  When the DPI gets to be 600 or larger you might have memory problems if the documents have > 1000 pages.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk