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 to CBitmap C++ example? |
Post Reply
|
| Author | |
hobnob
Beginner
Joined: 24 Jan 12 Location: United Kingdom Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: RenderPageToDC to CBitmap C++ example?Posted: 25 Jan 12 at 3:13PM |
|
Anyone have an example of how to do this
RenderPageToDC to CBitmap C++ example Thanks, Lee.
|
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 Jan 12 at 8:20AM |
|
Here is a C++ Builder example but it shouldn't be too hard to adapt it to a CBitmap.
void __fastcall TForm1::Button1Click(TObject *Sender) { char tmp[256]; int ret; ret = QP.LoadFromFile(L"Quick (1).pdf", L""); HDC dc = GetDC(Panel1->Handle); QP.RenderPageToDC(96, 1, dc); } |
|
![]() |
|
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