MasterShortcut Object Members
Visio Automation Reference |
Represents a master shortcut in a stencil. A master shortcut references a master in a stencil.
Methods
Name | Description | |
---|---|---|
![]() |
Delete | Deletes an object. |
![]() |
ExportIcon | Exports the icon for a Master object to a named file or the Clipboard. |
![]() |
ImportIcon | Imports the icon for a Master object from a named file. |
![]() |
OpenIconWindow | Opens an icon window that shows a master's icon. |
Properties
Name | Description | |
---|---|---|
![]() |
AlignName | Gets or sets the position of a master name in a stencil window. Read/write. |
![]() |
Application | Read-only. Returns the instance of Microsoft Office Visio that is associated with an object. |
![]() |
Document | Gets the Document object that is associated with an object. Read-only. |
![]() |
DropActions | Defines special actions to be performed on shapes created by using a master shortcut. Read/write. |
![]() |
Icon | Returns the icon contained in a master shortcut. Read/write |
![]() |
IconSize | Gets or sets the size of a master icon. Read/write. |
![]() |
ID | Gets the ID of an object. Read-only. |
![]() |
Index | Gets the ordinal position of a MasterShortcut object in the MasterShortcuts collection. Read-only. |
![]() |
IndexInStencil | Gets or sets the index of a master or master shortcut object within its stencil. Read/write. |
![]() |
Name | Specifies the name of an object. Read-only. |
![]() |
NameU | Specifies the universal name of a MasterShortcut object. Read/write. |
![]() |
ObjectType | Returns an object's type. Read-only. |
![]() |
Prompt | Gets or sets the prompt string for a master or master shortcut. Read/write. |
![]() |
ShapeHelp | Gets or sets the help string used when the user clicks Help on the shortcut menu of a master shortcut. Read/write. |
![]() |
Stat | Returns status information for an object. Read-only. |
![]() |
TargetDocumentName | Gets and sets the path and file name of a Microsoft Office Visio document (usually a stencil) that contains the master to which a master shortcut refers. Read/write. |
![]() |
TargetMasterName | Gets or sets the name of the master to which the master shortcut refers. Read/write. |