SpreadsheetDocument.ChangeDocumentType Method

Changes the document type.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Sub ChangeDocumentType ( _
    newType As SpreadsheetDocumentType _
)
'Usage
Dim instance As SpreadsheetDocument
Dim newType As SpreadsheetDocumentType

instance.ChangeDocumentType(newType)
public void ChangeDocumentType(
    SpreadsheetDocumentType newType
)

Parameters

Remarks

The WorkbookPart will be changed.

See Also

Reference

SpreadsheetDocument Class

SpreadsheetDocument Members

DocumentFormat.OpenXml.Packaging Namespace