Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Microsoft.Office.Tools.Word.Extensions Namespace

The Microsoft.Office.Tools.Word.Extensions namespace provides extension methods that you can access on Microsoft.Office.Interop.Word.Document objects to extend Microsoft Office Word documents.

The extension methods in this namespace are provided for backward compatibility with Office projects that you retarget from the .NET Framework 3.5 to the .NET Framework 4. In new projects that target the .NET Framework 4, you should access these methods by using the Globals.Factory object in your project. For more information, see Extending Word Documents and Excel Workbooks in Application-Level Add-ins at Run Time and Getting Extended Objects from Native Office Objects in Document-Level Customizations.

  Class Description
Public class DocumentExtensions Provides methods you can use to extend Microsoft Office Word documents by generating host items for Microsoft.Office.Interop.Word.Document objects and by testing for the existence of the generated host items.
Show:
© 2015 Microsoft