Rotating PdfFreeTextAnnotations

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

Moderator: Alex

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

Rotating PdfFreeTextAnnotations

Post by IntegraHarlan »

Hi,
Is there a way to rotate PDFFreeTextAnnotations on for the .Net Winforms plug-in?
I do not see any properties or methods that will do this.
Thanks
Harlan
Alex
Site Admin
Posts: 2315
Joined: Thu Jul 10, 2008 2:21 pm

Re: Rotating PdfFreeTextAnnotations

Post by Alex »

Hi Harlan,

Do you mean you want to rotate text in rectangle of PDF free text annotation?

PDF specification does have functionality for rotating of PDF free text annotation.

If you want to rotate PDF free text annotation in your application and work with changed PDF document in your application only, this task can be done by changing appearance of PDF annotation.

If you want to rotate PDF free text annotation in your application and use changed PDF document in any PDF viewer/editor, you can create rotated annotation but annotation will lose rotation after editing.

Best regards, Alexander
IntegraHarlan
Posts: 84
Joined: Fri Jan 24, 2020 3:37 am

Re: Rotating PdfFreeTextAnnotations

Post by IntegraHarlan »

Hi Alexander,
Sorry I was not more clear.
What I am trying to do is have a grab handle on annotations so the user can rotate them when they are added to a pdf document.
Specifically for the following annotation types:
PdfLineAnnotation,
PdfSquareAnnotation,
PdfFreeTextAnnotation,

I would like to make it so the user can rotate the annotation, save the pdf document with the annotations rotated, so that the annotations are rotated the same angle when the document is opened as they where when the document is saved.

Thanks
Alex
Site Admin
Posts: 2315
Joined: Thu Jul 10, 2008 2:21 pm

Re: Rotating PdfFreeTextAnnotations

Post by Alex »

Hi Harlan,

PDF specification does not define rotation functionality for PDF annotation.

Why dont you use Vintasoft annotations in your application? Vintasoft annotation can be rotated and can create PDF appearance during saving in PDF document.

Best regards, Alexander
Post Reply