I am creating a PDF report and using g.reports. I read that drawString should no longer be used with API 2.0. So what I need now is to print a string in my report that may have more characters than the page width.
I have two questions:
What command should I use to print this string, ensuring that it complies with the page width limits, so that the exceeding characters are printed on the next line?
How will I know the current height of the content so that I can print the next line and information without overlapping the content I have already printed?