Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > General Discussion
  New Posts New Posts RSS Feed - How to render to more than one Page
  FAQ FAQ  Forum Search   Register Register  Login Login

How to render to more than one Page

 Post Reply Post Reply
Author
Message
lakkan View Drop Down
Senior Member
Senior Member


Joined: 10 Dec 15
Location: Bangalore
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote lakkan Quote  Post ReplyReply Direct Link To This Post Topic: How to render to more than one Page
    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


Edited by lakkan - 04 Feb 16 at 9:30AM
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
BobW View Drop Down
Senior Member
Senior Member


Joined: 27 Feb 13
Location: Minnesota
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobW Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store