SpreadsheetDocument.ChangeDocumentType(SpreadsheetDocumentType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.