Export (0) Print
Expand All

WordprocessingDocument.AddMainDocumentPart method

Creates the MainDocumentPart and add it to this document.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public MainDocumentPart AddMainDocumentPart()

Return value

Type: DocumentFormat.OpenXml.Packaging.MainDocumentPart
The newly added MainDocumentPart.

Community Additions

Show:
© 2014 Microsoft