GetVstoObject Method

DocumentExtensions.GetVstoObject Method

 

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

Namespace:   Microsoft.Office.Tools.Word.Extensions
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetVstoObject(_Document, ApplicationFactory)

Returns a Microsoft.Office.Tools.Word.Document host item that extends the functionality of the current Microsoft.Office.Interop.Word.Document object in an application-level add-in. Pass the Globals.Factory object in your project to the factory parameter.

System_CAPS_pubmethodSystem_CAPS_staticGetVstoObject(_Document, Factory)

Returns a Microsoft.Office.Tools.Word.Document host item that extends the functionality of the current Microsoft.Office.Interop.Word.Document object in a document-level customization. Pass the Globals.Factory object in your project to the factory parameter.

Return to top
Show:
© 2016 Microsoft