获取Word中的当前光标位置(VSTO) [英] Get current Cursor Position in Word (VSTO)
本文介绍了获取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
属性?
这篇关于获取Word中的当前光标位置(VSTO)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文