Thank you, that was exactly the issue. All working now :-)
On 24 August 2016 at 18:23, Tilman Hausherr wrote:
> Your page has also a cropbox. You need to set that as well. Alternatively,
> just take the widths of the cropbox and use them for the new mediabox.
>
> Tilman
>
>
> Am 24.08.2016 um 16:
Your page has also a cropbox. You need to set that as well.
Alternatively, just take the widths of the cropbox and use them for the
new mediabox.
Tilman
Am 24.08.2016 um 16:31 schrieb Adam Retter:
I am using PDFBox 2.0.2 and trying to add a cover page to my PDF. The
Cover Page needs to have t
I am using PDFBox 2.0.2 and trying to add a cover page to my PDF. The
Cover Page needs to have the same dimensions as the first page of the
PDF.
I am trying to retrieve the size of the first page of the PDF using
the following code:
PDDocument doc = PDDocument.load(myFile);
PDPage originalFirstPa
3 matches
Mail list logo