Factory.GetRibbonFactory Method

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

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

Syntax

'Declaration
Function GetRibbonFactory As RibbonFactory
RibbonFactory GetRibbonFactory()

Return Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

Factory Interface

Microsoft.Office.Tools.Word Namespace