Freigeben über


PresentationDocument.AddPresentationPart-Methode

Creates the PresentationPart and add it to this document.

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

Syntax

'Declaration
Public Function AddPresentationPart As PresentationPart
'Usage
Dim instance As PresentationDocument
Dim returnValue As PresentationPart

returnValue = instance.AddPresentationPart()
public PresentationPart AddPresentationPart()

Rückgabewert

Typ: DocumentFormat.OpenXml.Packaging.PresentationPart
The newly added PresentationPart.

Siehe auch

Referenz

PresentationDocument Klasse

PresentationDocument-Member

DocumentFormat.OpenXml.Packaging-Namespace