MainMenu.getExportMenu

Syntax

getExportMenu(): PP.Mb.Ui.ExportMenu;

Description

The getExportMenu method returns instance of the Export popup menu.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Get main menu:

// Get instance of main menu
rib = expressBox.getRibbonView();
menu = rib.getMainMenu();
// The Export menu
export = menu.getExportMenu();
// Disable displaying of icons in the Export menu
export.setShowIcons(false);

After executing the example the popup menu of the Export menu item is displayed without icons.

See also:

MainMenu