Export (0) Print
Expand All
0 out of 5 rated this helpful - Rate this topic

Shape Object (Visio)

Represents anything you can select in a drawing window: a basic shape, a group, a guide, or an object from another application embedded or linked in Microsoft Visio.

Version Information


The default property of a Shape object is Name.

You can retrieve a particular Shape object from the Shapes collection of the following objects:

  • Page object

  • Master object

  • Shape object that represents a group

To retrieve Cell objects and Connect objects, use the Cells and Connects properties of a Shape object, respectively.


The PageSheet property of a Page object and Master object returns a Shape object whose Type property returns visTypePage. It has cells that specify properties such as drawing size and drawing scale. The DocumentSheet property of a Document object also returns a Shape object whose Type property returns visTypeDoc. It has cells that specify properties of the document.

If your Visual Studio solution includes the Microsoft.Office.Interop.Visio reference, this object maps to the following types:

  • Microsoft.Office.Interop.Visio.EShape_Event (to access events on the Shape object.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.