TextFragment and rotation (.net)

Hi,

I want to draw rectangle annotation based on TextFragment rectangle coordinate. If my page as the Rotate property <> None (ex : On90), annotation is not in the good position. Is there an easy way to work with TextFragment rectangle and Page rotation info, ex : translate TextFragment coordinate depending on page rotation ?

Thanks.

@schesneau

Thanks for contacting support.

Would you please share a sample document along with sample code snippet which you are trying to achieve the purpose, so that we can test the scenario in our environment and respond you accordingly.


Best Regards,
Asad Ali

Finally, I use “TextFragment.Page.RotationMatrix.Reverse” that do the job.

Thanks.

1 Like

@schesneau,

Thanks for the acknowledgement.

We are glad to hear that your requirement is accomplished. Please continue using our API and in the event of any further query, please feel free to contact.