Office js : is it possible to do an action at an exact position in a Word ?

Sylvain Cornut 6 Reputation points
2021-03-23T14:46:40.11+00:00

Hi!

I am on creating a Word addin and I have a request that returns me a position (x and y). I need to be able to insert something (for example: some text) at this x and y position. Is there a method that can allow me to do this ?

I searched the docs (getSelect, insertText,...) but couldn't find it. I hope I missed it.

Thank you in advance !

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.