MasterShortcut.ImportIcon method (Visio)
Imports the icon for a Master object from a named file.
Syntax
expression. ImportIcon
( _FileName_
)
expression A variable that represents a MasterShortcut object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
FileName | Required | String | The name of the file to import. |
Return value
Nothing
Remarks
The ImportIcon method can only import files that were produced by exporting a master icon in the application's internal icon format (visIconFormatVisio); it does not accept icons in other file formats.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.