获取Word中的当前光标位置(VSTO)(Get current Cursor Position in Word (VSTO))

有没有办法让Word加载项获取文档/屏幕上的当前光标位置(例如,在它旁边显示我自己的控件)?

Is there a way for a Word Add-In to get the current cursor position within the document/on screen (e.g. to display my own control next to it)?

最满意答案

你试过Cursor.Position属性吗?

Have you tried the Cursor.Position property?

更多推荐