You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by James Green <ja...@gmail.com> on 2016/12/13 17:55:23 UTC
Where did PAGE_SIZE_A4 go for v2?
We've got a bunch of code we're upgrading to PDFBox 2 - and there are
references to:
`PDPage.PAGE_SIZE_A4.getHeight()`
Is there a modern alternative? I spotted nothing on the migration page...
Thanks,
James
Re: Where did PAGE_SIZE_A4 go for v2?
Posted by James Green <ja...@gmail.com>.
On 13 December 2016 at 17:59, Tilman Hausherr <TH...@t-online.de> wrote:
> Am 13.12.2016 um 18:55 schrieb James Green:
>
>> We've got a bunch of code we're upgrading to PDFBox 2 - and there are
>> references to:
>>
>> `PDPage.PAGE_SIZE_A4.getHeight()`
>>
>> Is there a modern alternative? I spotted nothing on the migration page...
>>
>
>
> PDRectangle.A4
>
>
Thank you!
Re: Where did PAGE_SIZE_A4 go for v2?
Posted by Tilman Hausherr <TH...@t-online.de>.
Am 13.12.2016 um 18:55 schrieb James Green:
> We've got a bunch of code we're upgrading to PDFBox 2 - and there are
> references to:
>
> `PDPage.PAGE_SIZE_A4.getHeight()`
>
> Is there a modern alternative? I spotted nothing on the migration page...
PDRectangle.A4
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org