Version of Aspose.PDF for Java that supports rotation of text

I need to know in which version of Aspose.PDF for Java was introduced the ability to write rotated text.
For production needs I have to write rotated text using version 10.8 of Aspose.PDF for Java, but I’m unable to find the right way.
Thank you
Fabio Parise

@fabio.parise

Can you please specify what you mean by ‘the right way’ to write rotated text? Are you looking for code examples or specific methods?

I’m looking a code example working with version 10.8.

@fabio.parise

We are afraid that you are using quite an old version of the API. A lot of classes and APIs have been obsolete and discontinued since then. We recommend using the latest available version of the API as we provide support on it basis. To add rotated text in PDF using Aspose.PDF for Java 24.10, please check below article:

So do you confirm that using the setRotate method is the only way to get rotated text using Aspose.PDF?
Is there the possibility to apply an affine transformation to a text that have to be added to a PDF document?

@fabio.parise

Yes, setRotate method is the only and primary approach in Aspose.PDF to set rotation for the text. However, if it does not suit you OR you are looking for some other workaround, please let us know some more details. We will further proceed to assist you accordingly.