Incoming page orientation

Incoming page orientation

Forum member · Jan 16, 2009
How can I determine the portrait/landscape orientation of a page I am importing? I need to add elements in specific places relative to the paper as if every page was portrait, so I need to detect landscape pages and compensate. Thanks, Rick

Re: Incoming page orientation

Support · Jan 19, 2009
Hello Rick, It is not possible to know whether an existing page is Portrait or not directly, however you can know this by comparing the page width and height. You can get the page height and width using the properties Height and Width of the page. If the Height is more than the Width then the page is Portait and if the Height is less than the Width then it is Landscape. Thanks, ceTe Software Support Team.

Re: Incoming page orientation

Forum member · Jan 19, 2009
Thanks. That works. Rick