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!
![]() |
Printing a PDF page inside another document |
Post Reply
|
| Author | |
bmcdonald
Beginner
Joined: 19 Sep 11 Location: Mason, OH Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: Printing a PDF page inside another documentPosted: 19 Sep 11 at 6:33PM |
|
Hello,
I am currently trying to render a PDF page inside of another document that will be printed. The calling code passes in a printer hdc and settings of top, left, right, and bottom that represent the rectangle on the source docuemnt the PDF page needs to be rendered into. I have no control over the calling coding. All I have to work with is the rectangle settings and the printer's device context. Has anyone done this before or something similar?
Thanks in advance for any help you can provide.
Edited by bmcdonald - 19 Sep 11 at 6:34PM |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 Sep 11 at 4:24PM |
|
QP.RenderPageToDC is probably the function you are looking for. You may need to use some of the Win32 API calls that deal with HDC's.
|
|
![]() |
|
bmcdonald
Beginner
Joined: 19 Sep 11 Location: Mason, OH Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 Sep 11 at 4:33PM |
|
That is what I was thinking. I will probably have to use BitBlt to render to the rectable inside the HDC.
Thanks
|
|
![]() |
|
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