Determine current position when writing long text using AlivePDF

414 views Asked by At

I need to create a layout with an image on the left and text to the right of it. While the image width is known, the text length is not.

I want to be able to write the text and be able to determine where on the Y axis I need to addImage for the next image.

Thank you.

1

There are 1 answers

0
Francisc On BEST ANSWER

The PDF class exposes this public method: pdf.getY()