Protect/unprotect a Word document

空扰寡人 提交于 2019-12-11 04:25:53

问题


Is there any way to protect/unprotected a Word document by password programmatically using office.js ?

I have checked the API documentation (https://github.com/OfficeDev/office-js-docs/blob/WordJs_1.4_OpenSpec/reference/word/body.md#getrangerangelocation-string) of OfficeJS. But do not get any clue.

Any types of tip/help is welcome !


回答1:


Unfortunately that's not possible to achieve with the API. Please share this request in our user voice channel.



来源:https://stackoverflow.com/questions/45966631/protect-unprotect-a-word-document

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!