
Gets the display name of the active theme for the document. Gets the name of the active theme plus the theme formatting options for the document. NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation. For documentation about this type in projects that target the.

#Word document missing places to type in a document code
NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. This documentation describes the version of this type that is used in Office projects that target the. For more information, see Visual Studio Tools for Office Runtime Overview. It is not intended to be implemented in your code. This interface is implemented by the Visual Studio Tools for Office runtime. For more information, see Programming Document-Level Customizations. This class redirects all calls to its members to an internal implementation of the .Document interface in the Visual Studio Tools for Office runtime. The ThisDocument class derives most of its members from the .DocumentBase class. Instead, use the ThisDocument class to programmatically access the document in your project. In a document-level project, you typically do not use .Document objects directly. For more information, see Extending Word Documents and Excel Workbooks in VSTO Add-ins at Run Time. In an application-level project, you can create a .Document object by using the GetVstoObject method. That is, in the Word object model, these events are available on the .Application object rather than a .Document object. Use this property to get the underlying .Document object for a .Document.ĭocument-level events, such as BeforeClose and BeforeSave, that are provided only at the application level in the Word object model.

Use this property to add smart tags to a document.

Use this property to add managed controls to a Word document, or remove controls, at run time. IComponent ISupportInitialize IDisposable IBindableComponent RemarksĪ .Document object provides the same members as a .Document object from the Word primary interop assembly, but it adds the following features:Ĭontrols property.
