[NTG-context] Pdf info: width, height and rotation

Procházka Lukáš Ing. LPr at pontex.cz
Thu Nov 17 10:16:03 CET 2016


Hello,

thank you for the reaction.

On Thu, 17 Nov 2016 09:51:51 +0100, Hans Hagen <pragma at wxs.nl> wrote:

> you do that yourself as [3] - [1] is the width while you put it under

OK, so width = bbox[3] - bbox[1]

>> 2. Is it possible to get rotation or orientation of the page (be
>> "portrait" or "landscape" or "0" or "90" or so)?
>
> if it's in a dictionary you can locate it query the value

Orientation: How exactly? Could you provide some minimal code?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038



More information about the ntg-context mailing list