DocumentExtensions.GetVstoObject Method

Returns a Microsoft.Office.Tools.Word.Document host item that extends the functionality of the current Document object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member GetVstoObject(_Document, ApplicationFactory) Returns a Microsoft.Office.Tools.Word.Document host item that extends the functionality of the current Document object in an application-level add-in. Pass the Globals.Factory object in your project to the factory parameter.
Public method Static member GetVstoObject(_Document, Factory) Returns a Microsoft.Office.Tools.Word.Document host item that extends the functionality of the current Document object in a document-level customization. Pass the Globals.Factory object in your project to the factory parameter.
Top
Show: