MainDocumentPart.Document property

Office 2013 and later

Gets/Sets the root element of this part.

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

public Document Document { get; set; }
Show: