Master.ImportIcon Method (Visio)

Imports the icon for a Master object from a named file.

Syntax

expression. ImportIcon( _FileName_ )

expression A variable that represents a Master 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.