How should range.expandTo be used in the word javascript api

♀尐吖头ヾ 提交于 2019-12-07 13:14:27

you are using the method correctly although there will be a slight change in the design. The semantic of ExpandTo (as you can see on the latest documentation) is that it does NOT modify the calling range, but returns a newly expanded range.

this change requires an update to the Office.js library, it seems to be that there is an issue with the Beta CDN right now, we are working on updating it so that it matches the currently publicly available build.

So at this point my recommendation is to wait for this fix.

thanks!

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