Visual Studio 2013
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
The following code example adds a Bookmark control with text in the document, changes the style to Heading 1, and then deletes the bookmark.
This example is for a document-level customization.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.