retaining text orientation on rotated PdfFreeTextAnnotations

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Moderator: Alex

Post Reply
IntegraHarlan
Posts: 65
Joined: Fri Jan 24, 2020 3:37 am

retaining text orientation on rotated PdfFreeTextAnnotations

Post 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
Alex
Site Admin
Posts: 1942
Joined: Thu Jul 10, 2008 2:21 pm

Re: retaining text orientation on rotated PdfFreeTextAnnotations

Post 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
IntegraHarlan
Posts: 65
Joined: Fri Jan 24, 2020 3:37 am

Re: retaining text orientation on rotated PdfFreeTextAnnotations

Post 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
Alex
Site Admin
Posts: 1942
Joined: Thu Jul 10, 2008 2:21 pm

Re: retaining text orientation on rotated PdfFreeTextAnnotations

Post 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
Post Reply