VisInsertObjArgs enumeration (Visio)

Flags to be passed to the Page.InsertObject and Page.InsertFromFile methods.

Constant Value Description
visInsertAsControl 8192 None.
visInsertAsEmbed 16384 None.
visInsertDontShow 4096 Don't execute the new object's show verb.
visInsertIcon 16 Display the new object as an icon
visInsertLink 8 If set, the new shape represents an OLE link to the named file. Otherwise, the InsertFromFile method produces an OLE object from the contents of the named file and embeds it in the document that contains the page, master, or group.
visInsertNoDesignModeTransition 256 If set, when an ActiveX control is inserted, prevents Microsoft Visio from transitioning to design mode.

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.