Compartir a través de


MainDocumentPart.Document Property

Gets/Sets the root element of this part.

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

Syntax

'Declaration
Public Property Document As Document
    Get
    Set
'Usage
Dim instance As MainDocumentPart
Dim value As Document

value = instance.Document

instance.Document = value
public Document Document { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Wordprocessing.Document

See Also

Reference

MainDocumentPart Class

MainDocumentPart Members

DocumentFormat.OpenXml.Packaging Namespace