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!
![]() |
Page Orientation problem |
Post Reply ![]() |
Author | |
Totolik ![]() Beginner ![]() ![]() Joined: 06 Mar 11 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Totolik ![]() Beginner ![]() ![]() Joined: 06 Mar 11 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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