The Ribbon property is used to access the Ribbon control of the associated control (Word Processing, PDF Reader, Spreadsheet, Image Editor or HTML Editor controls). This allows you to make the Ribbon control visible or invisible.
// Hide the "Print" button in the ribbon
MyRibbon is Control <- WP_Document.Ribbon
{MyRibbon.FullName + ".BTN_WDFAA_Print", indControl}..Visible = False
Syntax
<Result> = <Control used>.Ribbon
<Result>: Control
Ribbon control associated with the specified control.
<Control used>: Control name
Name of the control that has a ribbon: - Word Processing,
- PDF Reader,
- Spreadsheet,
- Image editor,
Versions 26 and laterHTML Editor.
New in version 26HTML Editor.
HTML Editor.