Print Page | Close Window

DARotatePage and DAGetPageHeight

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2089
Printed Date: 16 Jun 25 at 1:54PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: DARotatePage and DAGetPageHeight
Posted By: bmcdonald
Subject: DARotatePage and DAGetPageHeight
Date Posted: 04 Jan 12 at 3:14PM
Hello,

I currently have a simple PDF viewer and I noticed when viewing a PDF that the value of DAGetPageHeight does not change when I issue a DARotatePage. Is there a set of properties that will show the current page height and width in relation to the current rotation of the page?

Thanks



Replies:
Posted By: Ingo
Date Posted: 04 Jan 12 at 4:54PM
Hi!

There aren't properties as described.
But you can help yourself.
The page dimensions you'll always get
and additionally you can use PageRotation.
It returns with the rotated degrees.
If the value is 180 or 360 then the values
for dimensions are okay and if it's
90 or 270 then you have to change
width and height. Not too complicated i think ;-)

BTW: PageRotation is a problem while determining
the position of formfields, too.

Cheers, Ingo





Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk