Ribbon Object
Description
The type of the ribbon property of the TXTextControl object. Provides functions and properties for manipulating the control's ribbon bar.
Syntax
{
selectedTab: <string>,
minimize: <function>,
expand: <function>
}Examples
The following example demonstrates Ribbon in a practical document-editing workflow. The type of the ribbon property of the TXTextControl object. Provides functions and properties for manipulating the control's ribbon bar.
function inspectRibbon(ribbon) {
console.log("selected tab:", ribbon.selectedTab);
console.log("minimize:", ribbon.minimize);
console.log("expand:", ribbon.expand);
}Members
Properties
| Property | Description |
|---|---|
| selectedTab | Gets or sets the currently selected ribbon tab name. Possible values are: "tabDefault", "tabInsert", "tabPageLayout", "tabMailings", "tabView", "tabTableLayout", "tabObjectFormat", "tabShapeFormat", "tabPermissions", "tabFormula" and "tabChartFormatting". |