Hello Mehmet,
The attachment didn't get through, my guess is that you didn't know that
the position values passed to newLineAtOffset() are relative. Either
take that into consideration, or call endText() and beginText() to reset it.
Tilman
On 24.09.2022 10:12, Mehmet Fatih ÇİN wrote:
Hello everyone,
I'm trying to create an official document with an institution title on
it. I need to center the title. I was able to center the expression on
the first line, but the other lines start from the first lineb start
position. This has been a problem for me. Each needs to be centered
independently. How can I do that? The code and sample file are
available in the message attachment.
Mehmet Fatih ÇİN
---------------------------------------------------------------------
To unsubscribe, e-mail:users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail:users-h...@pdfbox.apache.org