PresentationDocument.ChangeDocumentType(PresentationDocumentType) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes the document type.
public void ChangeDocumentType(DocumentFormat.OpenXml.PresentationDocumentType newType);member this.ChangeDocumentType : DocumentFormat.OpenXml.PresentationDocumentType -> unitPublic Sub ChangeDocumentType (newType As PresentationDocumentType)Parameters
- newType
- PresentationDocumentType
The new type of the document.
Remarks
The PresentationPart will be changed.