PresentationDocument.ChangeDocumentType Method
Changes the document type.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Sub ChangeDocumentType ( _
newType As PresentationDocumentType _
)
'Usage
Dim instance As PresentationDocument
Dim newType As PresentationDocumentType
instance.ChangeDocumentType(newType)
public void ChangeDocumentType(
PresentationDocumentType newType
)
Parameters
- newType
Type: DocumentFormat.OpenXml.PresentationDocumentType
The new type of the document.
Remarks
The PresentationPart will be changed.