danfickle / openhtmltopdf

An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
https://danfickle.github.io/pdf-templates/index.html
Other
1.93k stars 359 forks source link

how can get final pdf height #855

Open beergold opened 2 years ago

beergold commented 2 years ago

image

In my requirement, I only want to get a page of pdf, but the document does not have this attribute, so I look at it from the perspective of the default page, as shown in the figure, but the provided API does not have attributes like x, y, I not working