Page 1 of 1

retaining text orientation on rotated PdfFreeTextAnnotations

Posted: Tue May 19, 2020 10:12 pm
by IntegraHarlan
Hi,
I am adding PdfFreeTextAnnotations to a page that has been rotated.
I am using the suggested code from the following post in this forum https://www.vintasoft.com/forums/viewtopic.php?t=5730.
Using the AffineMatrix I am able to get the annotation in the correct orientation.
However, as soon as I change the size of the annotation, the text orientation changes to the original rotation angle.
Is there a way that I can retain the text orientation when changing the size of the annotation?

Thanks Harlan

Re: retaining text orientation on rotated PdfFreeTextAnnotations

Posted: Thu May 21, 2020 10:03 am
by Alex
Hi Harlan,

Please send us (to support@vintasoft.com) a small project, which allows to reproduce the problem. We will analyze your project and suggest you the best solution.

Best regards, Alexander

Re: retaining text orientation on rotated PdfFreeTextAnnotations

Posted: Fri May 22, 2020 3:18 am
by IntegraHarlan
Thank you,
I have submitted a class that can be easily added to the PDFEditorDemo project through your support e-mail.
You should then be able to reproduce the problem I am having.

Thanks

Re: retaining text orientation on rotated PdfFreeTextAnnotations

Posted: Fri May 22, 2020 4:04 pm
by Alex
Hi Harlan,

We improved your code and sent updated code back to you. Please let me know if you will have any question or problem.

Best regards, Alexander