Share via


Masters Object Members

Visio Automation Reference

Includes a Master object for each master in a document's stencil.

Methods

  Name Description
Aa342262.methods(en-us,office.12).gif Add Adds a new object to a collection.
Aa342262.methods(en-us,office.12).gif AddEx Adds a new Master object of the specified type to the Masters collection of a Microsoft Office Visio document.
Aa342262.methods(en-us,office.12).gif Drop Creates a new Master object by dropping an object onto a receiving object such as a stencil or document, or the Masters or MasterShortcuts collection.
Aa342262.methods(en-us,office.12).gif GetNames Returns the names of all items in a collection.
Aa342262.methods(en-us,office.12).gif GetNamesU Returns the universal names of all items in a collection.
Aa342262.methods(en-us,office.12).gif Paste Pastes the contents of the Clipboard into an object.

Properties

  Name Description
Aa342262.properties(en-us,office.12).gif Application Read-only. Returns the instance of Microsoft Office Visio that is associated with an object.
Aa342262.properties(en-us,office.12).gif Count Returns the number of objects in a collection. Read-only.
Aa342262.properties(en-us,office.12).gif Document Gets the Document object that is associated with an object. Read-only.
Aa342262.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.
Aa342262.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.
Aa342262.properties(en-us,office.12).gif ItemFromID Returns an item of a collection using the ID of the item. Read-only.
Aa342262.properties(en-us,office.12).gif ItemU Returns an object from a collection. Read-only.
Aa342262.properties(en-us,office.12).gif ObjectType Returns an object's type. Read-only.
Aa342262.properties(en-us,office.12).gif PersistsEvents Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only.
Aa342262.properties(en-us,office.12).gif Stat Returns status information for an object. Read-only.

Events

  Name Description
Aa342262.events(en-us,office.12).gif BeforeMasterDelete Occurs before a master is deleted from a document.
Aa342262.events(en-us,office.12).gif BeforeSelectionDelete Occurs before selected objects are deleted.
Aa342262.events(en-us,office.12).gif BeforeShapeDelete Occurs before a shape is deleted.
Aa342262.events(en-us,office.12).gif BeforeShapeTextEdit Occurs before a shape is opened for text editing in the user interface.
Aa342262.events(en-us,office.12).gif CellChanged Occurs after the value changes in a cell in a document.
Aa342262.events(en-us,office.12).gif ConnectionsAdded Occurs after connections have been established between shapes.
Aa342262.events(en-us,office.12).gif ConnectionsDeleted Occurs after connections between shapes have been removed.
Aa342262.events(en-us,office.12).gif ConvertToGroupCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelConvertToGroup event.
Aa342262.events(en-us,office.12).gif FormulaChanged Occurs after a formula changes in a cell in the object that receives the event.
Aa342262.events(en-us,office.12).gif GroupCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelGroup event.
Aa342262.events(en-us,office.12).gif MasterAdded Occurs after a new master is added to a document.
Aa342262.events(en-us,office.12).gif MasterChanged Occurs after properties of a master are changed and propagated to its instances.
Aa342262.events(en-us,office.12).gif MasterDeleteCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelMasterDelete event.
Aa342262.events(en-us,office.12).gif QueryCancelConvertToGroup Occurs before the application converts a selection of shapes to a group in response to a user action in the interface. If any event handler returns True, the operation is canceled.
Aa342262.events(en-us,office.12).gif QueryCancelGroup Occurs before the application groups a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled.
Aa342262.events(en-us,office.12).gif QueryCancelMasterDelete Occurs before the application deletes a master in response to a user action in the interface. If any event handler returns True, the operation is canceled.
Aa342262.events(en-us,office.12).gif QueryCancelSelectionDelete Occurs before the application deletes a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled.
Aa342262.events(en-us,office.12).gif QueryCancelUngroup Occurs before the application ungroups a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled.
Aa342262.events(en-us,office.12).gif SelectionAdded Occurs after one or more shapes are added to a document.
Aa342262.events(en-us,office.12).gif SelectionDeleteCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelSelectionDelete event.
Aa342262.events(en-us,office.12).gif ShapeAdded Occurs after one or more shapes are added to a document.
Aa342262.events(en-us,office.12).gif ShapeChanged Occurs after a property of a shape that is not stored in a cell is changed in a document.
Aa342262.events(en-us,office.12).gif ShapeDataGraphicChanged Occurs after a data graphic is applied to or deleted from a shape.
Aa342262.events(en-us,office.12).gif ShapeExitedTextEdit Occurs after a shape is no longer open for interactive text editing.
Aa342262.events(en-us,office.12).gif ShapeParentChanged Occurs after shapes are grouped or a group is ungrouped.
Aa342262.events(en-us,office.12).gif TextChanged Occurs after the text of a shape is changed in a document.
Aa342262.events(en-us,office.12).gif UngroupCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelUngroup event.