Compartir a través de


SpreadsheetDocument.AddRibbonExtensibilityPart Method

Adds a RibbonExtensibilityPart to the SpreadsheetDocument.

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

Syntax

'Declaration
Public Function AddRibbonExtensibilityPart As RibbonExtensibilityPart
'Usage
Dim instance As SpreadsheetDocument
Dim returnValue As RibbonExtensibilityPart

returnValue = instance.AddRibbonExtensibilityPart()
public RibbonExtensibilityPart AddRibbonExtensibilityPart()

Return Value

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

See Also

Reference

SpreadsheetDocument Class

SpreadsheetDocument Members

DocumentFormat.OpenXml.Packaging Namespace