SpreadsheetDocument.ChangeDocumentType(SpreadsheetDocumentType) Method

Definition

Changes the document type.

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

Parameters

newType
SpreadsheetDocumentType

The new type of the document.

Remarks

The WorkbookPart will be changed.

Applies to