Share via


Shapes Object Members

Visio Automation Reference

Includes a Shape object for each basic shape, group, guide, or object from another application (linked or embedded in Microsoft Office Visio) on a drawing page, master, or group.

Methods

  Name Description
Aa342283.methods(en-us,office.12).gif CenterDrawing Centers a page's, master's, or group's shapes with respect to the extent of the page, master, or group.

Properties

  Name Description
Aa342283.properties(en-us,office.12).gif Application Read-only. Returns the instance of Microsoft Office Visio that is associated with an object.
Aa342283.properties(en-us,office.12).gif ContainingMaster Returns the Master object that contains an object. Read-only.
Aa342283.properties(en-us,office.12).gif ContainingPage Returns the page that contains an object.
Aa342283.properties(en-us,office.12).gif ContainingShape Returns the Shape object that contains an object or collection. Read-only
Aa342283.properties(en-us,office.12).gif Count Returns the number of objects in a collection. Read-only.
Aa342283.properties(en-us,office.12).gif Document Gets the Document object that is associated with an object. Read-only.
Aa342283.properties(en-us,office.12).gif EventList Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only.
Aa342283.properties(en-us,office.12).gif Item Returns an item from a collection. The Item property is the default property for all collections. Read-only.
Aa342283.properties(en-us,office.12).gif ItemFromID Returns an item of a collection using the ID of the item. Read-only.
Aa342283.properties(en-us,office.12).gif ItemU Returns an object from a collection. Read-only.
Aa342283.properties(en-us,office.12).gif ObjectType Returns an object's type. Read-only.
Aa342283.properties(en-us,office.12).gif PersistsEvents Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only.
Aa342283.properties(en-us,office.12).gif Stat Returns status information for an object. Read-only.