PresentationDocument.AddPresentationPart Method
Creates the PresentationPart and add it to this document.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Function AddPresentationPart As PresentationPart
'使用
Dim instance As PresentationDocument
Dim returnValue As PresentationPart
returnValue = instance.AddPresentationPart()
public PresentationPart AddPresentationPart()
Return Value
Type: DocumentFormat.OpenXml.Packaging.PresentationPart
The newly added PresentationPart.