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

Remarks

The PresentationPart will be changed.

See Also

Reference

PresentationDocument Class

PresentationDocument Members

DocumentFormat.OpenXml.Packaging Namespace