1
votes

Is there any method available in officejs to close the word document ? Or "how we can open word document in same instance (if there is an instance already open)".

1

1 Answers

1
votes

Unfortunately, there is no word API to close word document. For "open word document", this is API named createDocument, not sure if it can meet your requirement or not

https://docs.microsoft.com/en-us/javascript/api/word/word.application?view=word-js-preview#createdocument-base64file-