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