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 - Page Orientation problem
  FAQ FAQ  Forum Search   Register Register  Login Login

Page Orientation problem

 Post Reply Post Reply
Author
Message
Totolik View Drop Down
Beginner
Beginner
Avatar

Joined: 06 Mar 11
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Totolik Quote  Post ReplyReply Direct Link To This Post Topic: Page Orientation problem
    Posted: 06 Mar 11 at 3:32PM
I have a problem with QP.PageWidth and PageHeight methods in VB. They seem to be switched one with another. For example when I render the page and it appears in Landscape , but PageWidth always gives me less value than PageHeight. What might be a problem?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 11 at 5:02PM
Hi!

Please read in the online-refernce here:
http://www.quickpdflibrary.com/help/quickpdf/MeasurementAndCoordinateUnits.php
...and have a look at this function SetOrigin:
http://www.quickpdflibrary.com/help/quickpdf/SetOrigin.php

Cheers and welcome here,
Ingo
Back to Top
Totolik View Drop Down
Beginner
Beginner
Avatar

Joined: 06 Mar 11
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Totolik Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 11 at 7:13PM
Ingo, after reading those topics you mentioned I'm still in a dark. I might explain problem not clear - basically I have a document with height 612 points and width of 754 points. It appears landscape after rendering. But QP.PageWidth returns 612 while QP.PageHeight returns 754. I appear as pure bug to me or there is some secrete auto-rotation protocol in place.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 11 at 8:54PM
So it was first created as portrait and later rotated.
So check if it's rotated... and if "yes" then change the values.
Use GetPageContent and "see" if there's "rotate"...

Cheers, Ingo



Edited by Ingo - 06 Mar 11 at 8:58PM
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