WordprocessingDocument.AddRibbonExtensibilityPart Method
Adds a RibbonExtensibilityPart to the WordprocessingDocument.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function AddRibbonExtensibilityPart As RibbonExtensibilityPart
'Usage
Dim instance As WordprocessingDocument
Dim returnValue As RibbonExtensibilityPart
returnValue = instance.AddRibbonExtensibilityPart()
public RibbonExtensibilityPart AddRibbonExtensibilityPart()
Return Value
Type: DocumentFormat.OpenXml.Packaging.RibbonExtensibilityPart
The newly added RibbonExtensibilityPart.