Поделиться через


WordprocessingDocument.ChangeDocumentType(WordprocessingDocumentType) Метод

Определение

Изменяет тип документа.

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

Параметры

newType
WordprocessingDocumentType

Новый тип документа.

Комментарии

MainDocumentPart будет изменен.

Применяется к