Document.Load Method
Loads the DOM from the MainDocumentPart.
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Sub Load ( _
openXmlPart As MainDocumentPart _
)
'Usage
Dim instance As Document
Dim openXmlPart As MainDocumentPart
instance.Load(openXmlPart)
public void Load(
MainDocumentPart openXmlPart
)
Parameters
- openXmlPart
Type: DocumentFormat.OpenXml.Packaging.MainDocumentPart
Specifies the part to be loaded.