Page object (Visio)
Represents a drawing page, which can be either a foreground page or a background page.
Remarks
The default property of a Page object is Name.
To retrieve the active page in an instance, use the ActivePage property of an Application object.
The members of a Document object's Pages collection represent the pages in that document. To retrieve a page's shapes, use the Shapes property of a Page object.
Events
- AfterReplaceShapes
- BeforePageDelete
- BeforeReplaceShapes
- BeforeSelectionDelete
- BeforeShapeDelete
- BeforeShapeTextEdit
- CalloutRelationshipAdded
- CalloutRelationshipDeleted
- CellChanged
- ConnectionsAdded
- ConnectionsDeleted
- ContainerRelationshipAdded
- ContainerRelationshipDeleted
- ConvertToGroupCanceled
- FormulaChanged
- GroupCanceled
- PageChanged
- PageDeleteCanceled
- QueryCancelConvertToGroup
- QueryCancelGroup
- QueryCancelPageDelete
- QueryCancelReplaceShapes
- QueryCancelSelectionDelete
- QueryCancelUngroup
- ReplaceShapesCanceled
- SelectionAdded
- SelectionDeleteCanceled
- ShapeAdded
- ShapeChanged
- ShapeDataGraphicChanged
- ShapeExitedTextEdit
- ShapeLinkAdded
- ShapeLinkDeleted
- ShapeParentChanged
- TextChanged
- UngroupCanceled
Methods
- AddGuide
- AutoConnectMany
- AutoSizeDrawing
- AvoidPageBreaks
- BoundingBox
- CenterDrawing
- CreateSelection
- Delete
- DrawArcByThreePoints
- DrawBezier
- DrawCircularArc
- DrawLine
- DrawNURBS
- DrawOval
- DrawPolyline
- DrawQuarterArc
- DrawRectangle
- DrawSpline
- Drop
- DropCallout
- DropConnected
- DropContainer
- DropIntoList
- DropLegend
- DropLinked
- DropMany
- DropManyLinkedU
- DropManyU
- Duplicate
- Export
- GetCallouts
- GetContainers
- GetFormulas
- GetFormulasU
- GetResults
- GetShapesLinkedToData
- GetShapesLinkedToDataRow
- GetTheme
- GetThemeVariant
- Import
- InsertFromFile
- InsertObject
- Layout
- LayoutChangeDirection
- LayoutIncremental
- LinkShapesToDataRows
- OpenDrawWindow
- Paste
- PasteSpecial
- PasteToLocation
- PrintTile
- ResizeToFitContents
- SetFormulas
- SetResults
- SetTheme
- SetThemeVariant
- ShapeIDsToUniqueIDs
- SplitConnector
- UniqueIDsToShapeIDs
- VisualBoundingBox
Properties
- AlternativeText
- Application
- AutoSize
- Background
- BackPage
- Comments
- Connects
- Document
- EventList
- ID
- Index
- Layers
- LayoutRoutePassive
- Name
- NameU
- ObjectType
- OLEObjects
- OriginalPage
- PageSheet
- PersistsEvents
- Picture
- PrintTileCount
- ReviewerID
- ShapeComments
- Shapes
- SpatialSearch
- Stat
- ThemeColors
- ThemeEffects
- Title
- Type
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.