SpreadsheetDocument.AddRibbonAndBackstageCustomizationsPart Method

Adds a RibbonAndBackstageCustomizationsPart to the SpreadsheetDocument, this part is only available in Office2010.

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

Syntax

'Declaration
Public Function AddRibbonAndBackstageCustomizationsPart As RibbonAndBackstageCustomizationsPart
'Usage
Dim instance As SpreadsheetDocument
Dim returnValue As RibbonAndBackstageCustomizationsPart

returnValue = instance.AddRibbonAndBackstageCustomizationsPart()
public RibbonAndBackstageCustomizationsPart AddRibbonAndBackstageCustomizationsPart()

Return Value

Type: DocumentFormat.OpenXml.Packaging.RibbonAndBackstageCustomizationsPart
The newly added RibbonExtensibilityPart.

See Also

Reference

SpreadsheetDocument Class

SpreadsheetDocument Members

DocumentFormat.OpenXml.Packaging Namespace