Print Page | Close Window

RenderPageToDC and AddPageMatrix

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3878
Printed Date: 07 May 24 at 5:01PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: RenderPageToDC and AddPageMatrix
Posted By: FOltean
Subject: RenderPageToDC and AddPageMatrix
Date Posted: 15 Jan 21 at 11:10AM
Hello everybody, 

I wish you all a Happy New Year 2021!

I use Quick PDF 18.11 and I would like to use RenderPageToDC for printing. 
By exemple I would like to print several PDF size A4 on a page A0. 

For the moment I am able to print correctly the first pdf that is on the left top corner, but the following pdfs are not correctly moved in the next position.

Does anybody have some experience with  RenderPageToDC  and AddPageMatrix ? Where AddPageMatrix is a function that will scale the page contents in either direction and also move the page up, down, left or right.

Thank you in advance,










Replies:
Posted By: FOltean
Date Posted: 15 Jan 21 at 4:44PM
I found a solution: I use SetViewportOrigin for the position on the printer page and SetWindowsExtEx and SetViewportExtEx for scaling.




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