PresentationDocument.AddPresentationPart method

Creates the PresentationPart and add it to this document.

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

public PresentationPart AddPresentationPart()

Return value

Type: DocumentFormat.OpenXml.Packaging.PresentationPart
The newly added PresentationPart.
Show: