Annotation Inserted Upside Down On Bottom

@anianupra

An issue as PDFNET-50625 has been logged in our issue tracking system for the sake of further investigation. We will look into its details and keep you posted with the status of its rectification. Please be patient and spare u some time.

We are sorry for the inconvenience.

@asad.ali,

Any ETA on when it will be rectified?

We are looking to get this resolved as early as possible.

Please let me know.
Thank you,
A

@anianupra

The ticket has just been logged in our issue management system and is pending for a review. Please note that issues are resolved on first come first serve basis in free support model. We will surely inform you as soon as we make some definite progress towards ticket resolution. Please spare us some time.

We are sorry for the inconvenience.

@anianupra

We have investigated the earlier logged ticket. For rotated pages you have to set annotation Rotate property matching of value Page.Rotate for right annotation orientation.

Follow code will add annotation as you expect:

transform = pdfDocument.Pages[1].RotationMatrix.Transform(new Aspose.Pdf.Rectangle(200, 400, 400, 600));
FreeTextAnnotation freetext = new FreeTextAnnotation(pdfDocument.Pages[1], transform, default_appearance);
freetext.Rotate = Rotation.on270; //If pdfDocument.Pages[1].Rotate = Rotation.on270
freetext.Contents = "Free Text - @ " + pdfDocument.Pages[1].Rotate;
pdfDocument.Pages[1].Annotations.Add(freetext);

Important note - You have to set up Rotate property of annotation before Contents to get an effect.