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 !

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
994 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,963 questions
{count} votes

Your answer

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