GetRibbonFactory Method

Factory.GetRibbonFactory Method

Returns an object that you can use to create Ribbon controls at run time.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

RibbonFactory GetRibbonFactory()

Return Value

Type: Microsoft.Office.Tools.Ribbon.RibbonFactory
An object that you can use to create Ribbon controls at run time.

When you create a Ribbon control at run time, you can add it to a custom Ribbon that you created by using the Ribbon (Visual Designer) project item in an Office project. For more information, see Ribbon Object Model Overview.

Show:
© 2016 Microsoft