Share via


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
Aa342263.methods(en-us,office.12).gif Delete Deletes an object.
Aa342263.methods(en-us,office.12).gif ExportIcon Exports the icon for a Master object to a named file or the Clipboard.
Aa342263.methods(en-us,office.12).gif ImportIcon Imports the icon for a Master object from a named file.
Aa342263.methods(en-us,office.12).gif OpenIconWindow Opens an icon window that shows a master's icon.

Properties

  Name Description
Aa342263.properties(en-us,office.12).gif AlignName Gets or sets the position of a master name in a stencil window. Read/write.
Aa342263.properties(en-us,office.12).gif Application Read-only. Returns the instance of Microsoft Office Visio that is associated with an object.
Aa342263.properties(en-us,office.12).gif Document Gets the Document object that is associated with an object. Read-only.
Aa342263.properties(en-us,office.12).gif DropActions Defines special actions to be performed on shapes created by using a master shortcut. Read/write.
Aa342263.properties(en-us,office.12).gif Icon Returns the icon contained in a master shortcut. Read/write
Aa342263.properties(en-us,office.12).gif IconSize Gets or sets the size of a master icon. Read/write.
Aa342263.properties(en-us,office.12).gif ID Gets the ID of an object. Read-only.
Aa342263.properties(en-us,office.12).gif Index Gets the ordinal position of a MasterShortcut object in the MasterShortcuts collection. Read-only.
Aa342263.properties(en-us,office.12).gif IndexInStencil Gets or sets the index of a master or master shortcut object within its stencil. Read/write.
Aa342263.properties(en-us,office.12).gif Name Specifies the name of an object. Read-only.
Aa342263.properties(en-us,office.12).gif NameU Specifies the universal name of a MasterShortcut object. Read/write.
Aa342263.properties(en-us,office.12).gif ObjectType Returns an object's type. Read-only.
Aa342263.properties(en-us,office.12).gif Prompt Gets or sets the prompt string for a master or master shortcut. Read/write.
Aa342263.properties(en-us,office.12).gif ShapeHelp Gets or sets the help string used when the user clicks Help on the shortcut menu of a master shortcut. Read/write.
Aa342263.properties(en-us,office.12).gif Stat Returns status information for an object. Read-only.
Aa342263.properties(en-us,office.12).gif 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.
Aa342263.properties(en-us,office.12).gif TargetMasterName Gets or sets the name of the master to which the master shortcut refers. Read/write.