Share via


Pages Object Members

Visio Automation Reference

Includes a Page object for each drawing page in a document.

Methods

  Name Description
Aa342276.methods(en-us,office.12).gif Add Adds a new object to a collection.
Aa342276.methods(en-us,office.12).gif GetNames Returns the names of all items in a collection.
Aa342276.methods(en-us,office.12).gif GetNamesU Returns the universal names of all items in a collection.

Properties

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

Events

  Name Description
Aa342276.events(en-us,office.12).gif BeforePageDelete Occurs before a page is deleted.
Aa342276.events(en-us,office.12).gif BeforeSelectionDelete Occurs before selected objects are deleted.
Aa342276.events(en-us,office.12).gif BeforeShapeDelete Occurs before a shape is deleted.
Aa342276.events(en-us,office.12).gif BeforeShapeTextEdit Occurs before a shape is opened for text editing in the user interface.
Aa342276.events(en-us,office.12).gif CellChanged Occurs after the value changes in a cell in a document.
Aa342276.events(en-us,office.12).gif ConnectionsAdded Occurs after connections have been established between shapes.
Aa342276.events(en-us,office.12).gif ConnectionsDeleted Occurs after connections between shapes have been removed.
Aa342276.events(en-us,office.12).gif ConvertToGroupCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelConvertToGroup event.
Aa342276.events(en-us,office.12).gif FormulaChanged Occurs after a formula changes in a cell in the object that receives the event.
Aa342276.events(en-us,office.12).gif GroupCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelGroup event.
Aa342276.events(en-us,office.12).gif PageAdded Occurs after a new page is added to a document.
Aa342276.events(en-us,office.12).gif PageChanged Occurs after the name of a page, the background page associated with a page, or the page type (foreground or background) changes.
Aa342276.events(en-us,office.12).gif PageDeleteCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelPageDelete event.
Aa342276.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.
Aa342276.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.
Aa342276.events(en-us,office.12).gif QueryCancelPageDelete Occurs before the application deletes a page in response to a user action in the interface. If any event handler returns True, the operation is canceled.
Aa342276.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.
Aa342276.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.
Aa342276.events(en-us,office.12).gif SelectionAdded Occurs after one or more shapes are added to a document.
Aa342276.events(en-us,office.12).gif SelectionDeleteCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelSelectionDelete event.
Aa342276.events(en-us,office.12).gif ShapeAdded Occurs after one or more shapes are added to a document.
Aa342276.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.
Aa342276.events(en-us,office.12).gif ShapeDataGraphicChanged Occurs after a data graphic is applied to or deleted from a shape.
Aa342276.events(en-us,office.12).gif ShapeExitedTextEdit Occurs after a shape is no longer open for interactive text editing.
Aa342276.events(en-us,office.12).gif ShapeLinkAdded Occurs after a shape is linked to a data row.
Aa342276.events(en-us,office.12).gif ShapeLinkDeleted Occurs after the link between a shape and a data row is deleted.
Aa342276.events(en-us,office.12).gif ShapeParentChanged Occurs after shapes are grouped or a group is ungrouped.
Aa342276.events(en-us,office.12).gif TextChanged Occurs after the text of a shape is changed in a document.
Aa342276.events(en-us,office.12).gif UngroupCanceled Occurs after an event handler has returned True (cancel) to a QueryCancelUngroup event.