In this opportunity I will show you how to use the VSTO Ribbon dynamicMenu control to programmatically add controls at runtime using C#. The dynamicMenu is a Ribbon control that has a similar behavior to the menu control, with the difference that the former allows to add controls like buttons, menus, toggleButtons at runtime. For... read more
Hi, in this opportunity you will see how to attach a given template into a Word 2007 document programatically (C#), and subsequently update the styles that were modified. Sample Solution If you like to see the code working, I’m attaching in this post a really simple sample solution that you can download and use it... read more
Introduction In order to make the sample more exciting, you will convert a text selection into a plain text content control. For this, you will use several Interop interfaces such as Selection and Range, but don’t panic because their use is really simple and intuitive. For more information, see Selection Interface and Range Interface. Additionally,... read more
Hi to all! In this post I will show you how to programatically (C#) export the images that are embedded in Word 2007. As you may know, all the images that are inserted into Word are also embedded as document parts. All embedded parts in a Word 2007 document are in their native, default Word... read more