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

Application.Addons Property (Visio)

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

Returns the Addons collection of an Application or InvisibleApp object. Read-only.

Syntax

expression . Addons

expression A variable that represents an Application object.

Return Value

Addons

Remarks

The Addons collection includes an Addon object for each add-on in the folders specified by the AddonPaths property and for each add-on that is added dynamically to the collection by other add-ons.

Example

This Microsoft Visual Basic for Applications (VBA) macro shows how to get the Addons collection and add an add-on to it.

Before running this macro, replace path\filename with a valid path and file name for an add-on in your Visio project.


Public Sub Addons_Example() 

 Dim vsoAddons As Visio.Addons 
 Dim vsoAddon As Visio.Addon 

 'Add an add-on to the Addons collection. 
 Set vsoAddons = Visio.Addons 
 Set vsoAddon = vsoAddons.Add("path\filename ") 

End Sub
© 2018 Microsoft