Table of contents
TOC
Collapse the table of content
Expand the table of content

MasterShortcut.TargetMasterName Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets or sets the name of the master to which the master shortcut refers. Read/write.

Syntax

expression . TargetMasterName

expression A variable that represents a MasterShortcut object.

Return Value

String

Remarks

The name specified by this property must be the target master's universal name, not its localized name. For a given master, the universal name is specified by the master's NameU property, and the local name by its Name property.

When the user drops a master shortcut onto a drawing page, the application first locates the document identified by the shortcut's TargetDocumentName property, and then it searches that document for a master whose universal name matches the shortcut's TargetMasterName property. Once located, the target master (not the shortcut) is used to create the new shape instance on the drawing page.

© 2018 Microsoft