Threads with tafg "office-word-itpro" focus more on general questions of Word clients.
Any issue related to API code are not supported on Q&A forum currently, I would suggest you post a new question on the forums poited on the following link.
Office developer community
Thanks for your understanding.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.