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 > I need help - I can help
  New Posts New Posts RSS Feed - RenderPageToDC with SetRenderDCOffset
  FAQ FAQ  Forum Search   Register Register  Login Login

RenderPageToDC with SetRenderDCOffset

 Post Reply Post Reply
Author
Message
s.meyer View Drop Down
Beginner
Beginner


Joined: 19 Nov 15
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote s.meyer Quote  Post ReplyReply Direct Link To This Post Topic: RenderPageToDC with SetRenderDCOffset
    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

 

Back to Top
Sebaestschjin View Drop Down
Beginner
Beginner


Joined: 11 Mar 16
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sebaestschjin Quote  Post ReplyReply Direct Link To This Post Posted: 11 Mar 16 at 4:12PM
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
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