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!
![]() |
RenderPageToDC with SetRenderDCOffset |
Post Reply ![]() |
Author | |
s.meyer ![]() Beginner ![]() Joined: 19 Nov 15 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 19 Nov 15 at 9:53AM |
Hello!
I'd like to output a PDF by RenderPageToDC not at position (0,0) but moved to (x,y). If I use SetRenderDCOffset(), the output is moved correctly, but cut at the unmoved former borders. If I move the position e.g. by 100 pixels right to (100,0), there are missing 100 pixels on the right side! Only the white background is output completely and correctly... What am I doing wrong? I use the Delphi-Source-Edition 11.12 with Delphi 2010 und Windows 7. Many thanks for your help
|
|
![]() |
|
Sebaestschjin ![]() Beginner ![]() Joined: 11 Mar 16 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
Well, the topic is a bit older now, but apparently I have the same problem.
We implemented a Document-Viewer in our application using QuickPDF and the RenderPageToDC-Method. Until now we used Library-Version 8.16 and everything works fine. The SetRenderDCOffset-Method is called when the user drags the mouse on the document, so that the position moves. However I'm currently trying to update the Library to the recent version 12.12 and there the same problem as s.meyer mentioned can be seen. The paper background moves correctly, but the content is cut at the old borders. I tried to manipulate the RenderCropType and PageBoxes, but so far there's no option I found that fixes the problem. Is there some new option that has to be set in order for this method to still work correctly? Help will be greatly appreciated |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store