Partager via


WordprocessingDocument.ChangeDocumentType(WordprocessingDocumentType) Méthode

Définition

Modifie le type de document.

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

Paramètres

newType
WordprocessingDocumentType

Nouveau type du document.

Remarques

MainDocumentPart sera modifié.

S’applique à