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!
![]() |
resize using RenderPageToDC |
Post Reply ![]() |
Author | |
pavsej ![]() Beginner ![]() Joined: 22 Sep 10 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 22 Sep 10 at 12:43PM |
Hello,
When rendering a page using RenderPageToDC I would like to resize this page to fit fully to HDC.
I tried:
SetPageDimensions
SetPageBox
PrintOptions
but it didnt help.
Thanks,
Pavel
Edited by pavsej - 22 Sep 10 at 12:43PM |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Pavel!
If you don't get an answer here you should try the official support pages. Cheers and welcome here, Ingo |
|
![]() |
|
abhay ![]() Beginner ![]() ![]() Joined: 08 Jul 10 Location: Pune Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
You need to adject the DPI accordingly.
DPI 72 is default you can say 100% Now according to ratio of Page Height and width with DC height width multiply or divide the DPI. Also you can use SetRenderScale (Sorry, I am feeling sleepy... I think what I typed is correct) Edited by abhay - 24 Feb 11 at 5:01PM |
|
![]() |
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