Microsoft Office Tutorials and References
In Depth Information
Application-level solutions
// Read content and insert the value after the paragraph
this.Content.InsertParagraphAfter();
// Insert value from the DateTimePicker select value
this.Content.InsertAfter(PacktDateTimePicker.Value.
ToString());
}
Adding and executing the preceding code snippets, we get the following screenshot
as an output:
If you have a requirement to display a control on the Actions Pane in response
to some events, then you can achieve the same by writing the code for any event
available in Word 2007.
Application-level solutions
An application-level solution is one of the key functionalities provided by VSTO 3.0
for Office 2007 development using .NET technology. An application-level solution can
be achieved by creating application-level add-ins. As we have mentioned earlier, the
Task Pane customization and Ribbon customization are some of the application-level
solutions that can be performed using VSTO. Whatever customization you do to the
application will be in the Microsoft Office Word application, and this customization
will be specific to the application that you are customizing, and it will be available for
all of the documents used by this application.
 
Search JabSto ::




Custom Search