Pages Object Members
Visio Automation Reference |
Includes a Page object for each drawing page in a document.
Methods
Name | Description | |
---|---|---|
Add | Adds a new object to a collection. | |
GetNames | Returns the names of all items in a collection. | |
GetNamesU | Returns the universal names of all items in a collection. |
Properties
Name | Description | |
---|---|---|
Application | Read-only. Returns the instance of Microsoft Office Visio that is associated with an object. | |
Count | Returns the number of objects in a collection. Read-only. | |
Document | Gets the Document object that is associated with an object. Read-only. | |
EventList | Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only. | |
Item | Returns an item from a collection. The Item property is the default property for all collections. Read-only. | |
ItemFromID | Returns an item of a collection using the ID of the item. Read-only. | |
ItemU | Returns an object from a collection. Read-only. | |
ObjectType | Returns an object's type. Read-only. | |
PersistsEvents | Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only. | |
Stat | Returns status information for an object. Read-only. |
Events
Name | Description | |
---|---|---|
BeforePageDelete | Occurs before a page is deleted. | |
BeforeSelectionDelete | Occurs before selected objects are deleted. | |
BeforeShapeDelete | Occurs before a shape is deleted. | |
BeforeShapeTextEdit | Occurs before a shape is opened for text editing in the user interface. | |
CellChanged | Occurs after the value changes in a cell in a document. | |
ConnectionsAdded | Occurs after connections have been established between shapes. | |
ConnectionsDeleted | Occurs after connections between shapes have been removed. | |
ConvertToGroupCanceled | Occurs after an event handler has returned True (cancel) to a QueryCancelConvertToGroup event. | |
FormulaChanged | Occurs after a formula changes in a cell in the object that receives the event. | |
GroupCanceled | Occurs after an event handler has returned True (cancel) to a QueryCancelGroup event. | |
PageAdded | Occurs after a new page is added to a document. | |
PageChanged | Occurs after the name of a page, the background page associated with a page, or the page type (foreground or background) changes. | |
PageDeleteCanceled | Occurs after an event handler has returned True (cancel) to a QueryCancelPageDelete event. | |
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. | |
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. | |
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. | |
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. | |
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. | |
SelectionAdded | Occurs after one or more shapes are added to a document. | |
SelectionDeleteCanceled | Occurs after an event handler has returned True (cancel) to a QueryCancelSelectionDelete event. | |
ShapeAdded | Occurs after one or more shapes are added to a document. | |
ShapeChanged | Occurs after a property of a shape that is not stored in a cell is changed in a document. | |
ShapeDataGraphicChanged | Occurs after a data graphic is applied to or deleted from a shape. | |
ShapeExitedTextEdit | Occurs after a shape is no longer open for interactive text editing. | |
ShapeLinkAdded | Occurs after a shape is linked to a data row. | |
ShapeLinkDeleted | Occurs after the link between a shape and a data row is deleted. | |
ShapeParentChanged | Occurs after shapes are grouped or a group is ungrouped. | |
TextChanged | Occurs after the text of a shape is changed in a document. | |
UngroupCanceled | Occurs after an event handler has returned True (cancel) to a QueryCancelUngroup event. |