Method that creates a new RibbonPanel within a ribbon tab. The newly created RibbonPanel is returned.
Name | Type | Description |
DisplayName | String | Input string that defines the display name of the ribbon panel. This is the name that is displayed to the user and should be localized for different locales. |
InternalName | String | Input string that defines the unique internal name of the ribbon panel. This is the internal name and is not displayed to the user. The name must be unique with respect to all other ribbon panels within the tab. The name should remain constant in all locales so it can be used to find a specific panel. |
ClientId | String | Input String that uniquely identifies the client. This is the CLSID of the AddIn in a string form, e.g. |
TargetPanelInternalName | String | Optional input String that specifies the internal name of an existing panel to position the new panel next to. If specified, the InsertBeforeTargetPanel argument indicates whether to place the new panel before or after the target panel. If not specified, the new panel is positioned at the end. This is an optional argument whose default value is "". |
InsertBeforeTargetPanel | Boolean | Optional input Boolean that specifies whether to position the new panel before or after the target ribbon panel. The argument defaults to False and is not used if the TargetPanelInternalName argument is not specified. This is an optional argument whose default value is False. |
Name | Description |
Add parallel environment with contextual tabs | The following sample demonstrates the use of parallel environments and contextual ribbon tabs. |
Creation of an override environment for a document | A new ribbon tab is created and associated with the override environment. |
Create a ribbon panel in an existing tab | Demonstrates creating a new ribbon panel within an existing ribbon tab. |