
## MasterShortcut class

Specifies a master shortcut defined in the document.

## Constructors

| Name | Description |
| --- | --- |
| [MasterShortcut](#constructor) | Constructor. |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [ID](#id) | int | The unique ID of the element within its parent element. |
| [Name](#name) | String | The name of the element. |
| [NameU](#nameu) | String | The universal name of the element. |
| [IconSize](#iconsize) | int | The size of the element's icon. The value of the property is IconSizeValue integer constant. |
| [PatternFlags](#patternflags) | int | Determines whether a master behaves as a custom pattern. |
| [Prompt](#prompt) | String | The status bar and tool tip prompt for the element. |
| [ShortcutURL](#shortcuturl) | String | A URL to a MasterShortcut element. If this attribute is present, this MasterShortcut element is a shortcut. |
| [ShortcutHelp](#shortcuthelp) | String | A help string for the element. |
| [AlignName](#alignname) | int | Specifies whether the element's text in the stencil window is aligned left, right, or center. The value of the property  |
| [Icon](#icon) | byte[] | Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShor |

### MasterShortcut() {#constructor}

Constructor.

### MasterShortcut.ID property {#id}

The unique ID of the element within its parent element.

**Type:** int

### MasterShortcut.Name property {#name}

The name of the element.

**Type:** String

### MasterShortcut.NameU property {#nameu}

The universal name of the element.

**Type:** String

### MasterShortcut.IconSize property {#iconsize}

The size of the element's icon. The value of the property is IconSizeValue integer constant.

**Type:** int

### MasterShortcut.PatternFlags property {#patternflags}

Determines whether a master behaves as a custom pattern.

**Type:** int

### MasterShortcut.Prompt property {#prompt}

The status bar and tool tip prompt for the element.

**Type:** String

### MasterShortcut.ShortcutURL property {#shortcuturl}

A URL to a MasterShortcut element. If this attribute is present, this MasterShortcut element is a shortcut.

**Type:** String

### MasterShortcut.ShortcutHelp property {#shortcuthelp}

A help string for the element.

**Type:** String

### MasterShortcut.AlignName property {#alignname}

Specifies whether the element's text in the stencil window is aligned left, right, or center. The value of the property is AlignNameValue integer constant.

**Type:** int

### MasterShortcut.Icon property {#icon}

Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShortcut element in a document.

**Type:** byte[]
