AddonArgs property

Microsoft Visio Developer Reference

AddonArgs property

       

Gets or sets the argument string that you send to the add-on associated with a particular menu or toolbar.

Version added

4.0

Syntax

object.AddonArgs = argsStr
argsStr = object.AddonArgs

object

Required. An expression that returns an object in the Applies to list that starts the add-on.

argsStr

Required String. The argument string to be passed to the add-on.

Remarks

An argument's string can be anything appropriate for the add-on. However, the arguments are packaged together with other information into a command string, which cannot exceed 127 characters. For best results, limit arguments to 50 characters.

An object's AddonName property indicates the name of the add-on to which the arguments are sent.