简体   繁体   中英

Selected text action as Word AddIn in C#

I'd like to have a Word 2007+ AddIn (in C#) which after selecting text and the right mouse click shows a pop-up menu with MY OWN Item and after clicking this Item I can use the selected text as string in the event handler.

Please, I am completely new to the AddIn development. How to do that two things?

Would you prefer VBA or C#? Both are viable options. I will say however, VBA is a more lightweight solution. A good VBA example can be found here and a beautiful C# example here . Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM