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 - RenderPageToString() resolution issue
  FAQ FAQ  Forum Search   Register Register  Login Login

RenderPageToString() resolution issue

 Post Reply Post Reply
Kathy View Drop Down

Joined: 11 Jan 24
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kathy Quote  Post ReplyReply Direct Link To This Post Topic: RenderPageToString() resolution issue
    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?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 20 Feb 24 at 7:31PM
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...


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