ButtonImageSize

Applies to

Menu objects

Description

Specifies whether to display the menu item as a large button or a small button.

0 – (Default) Displays as a small button.

1 – Displays as a large button.

Data type

Integer.

Usage

In a painter

To specify whether to display the menu item as a large button or a small button:

  1. In the Menu painter, expand the menu in the treeview, and then select a sub-menu item (such as a 2nd-level, 3rd-level, or 4th-level menu item).

  2. Select a value from the ButtonImageSize drop-down list on the RibbonView tab page.

In scripts

This statement displays the m_exit menu item as a large button:

m_exit.ButtonImageSize = 1

When ButtonImageSize property value is 1, large buttons display as follows:

When ButtonImageSize property value is 0, small buttons display as follows: