Share via


PresentationDocument.ChangeDocumentType(PresentationDocumentType) 方法

定义

更改文档类型。

public void ChangeDocumentType (DocumentFormat.OpenXml.PresentationDocumentType newType);
member this.ChangeDocumentType : DocumentFormat.OpenXml.PresentationDocumentType -> unit
Public Sub ChangeDocumentType (newType As PresentationDocumentType)

参数

newType
PresentationDocumentType

文档的新类型。

注解

PresentationPart 将更改。

适用于