سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top