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!
RenderPageToString() resolution issue |
Post Reply |
Author | |
Kathy
Beginner Joined: 11 Jan 24 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 11 Jan 24 at 4:58AM |
I opened a pdf document with the following sizes: 3.37 X 2.12
I call a library method that creates bitmap, asking for 300 dpi resolution: RenderPageToString(300, 1, 0) I am expecting to get a bitmap, having 1011 x 636 pixels. (3.37x300=1011 2.12x300=636) But the bitmap I get is 809 X 510. Why do I get this resolution? Is this a library bug?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Kathy :)
Perhaps a look into chapter "Measurement and coordinate units" from the referenceguide will help? Have a special look on the functions below. Calling them first could change your result... SetMeasurementUnits SetGlobalMeasurementUnits SetGlobalScale |
|
Cheers,
Ingo |
|
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