Master object (Visio)
Represents a master in a stencil.
Remarks
You retrieve a particular Master object from the Masters collection of a Document object whose stencil contains that master.
The default property of a Master object is Name.
To create an instance of a master in a drawing, use the Drop method of a Page object that represents a drawing page.
Events
- BeforeMasterDelete
- BeforeSelectionDelete
- BeforeShapeDelete
- BeforeShapeTextEdit
- CellChanged
- ConnectionsAdded
- ConnectionsDeleted
- ConvertToGroupCanceled
- FormulaChanged
- GroupCanceled
- MasterChanged
- MasterDeleteCanceled
- QueryCancelConvertToGroup
- QueryCancelGroup
- QueryCancelMasterDelete
- QueryCancelSelectionDelete
- QueryCancelUngroup
- SelectionAdded
- SelectionDeleteCanceled
- ShapeAdded
- ShapeChanged
- ShapeDataGraphicChanged
- ShapeExitedTextEdit
- ShapeParentChanged
- TextChanged
- UngroupCanceled
Methods
- AddGuide
- BoundingBox
- CenterDrawing
- Close
- CreateSelection
- CreateShortcut
- DataGraphicDelete
- Delete
- DrawArcByThreePoints
- DrawBezier
- DrawCircularArc
- DrawLine
- DrawNURBS
- DrawOval
- DrawPolyline
- DrawQuarterArc
- DrawRectangle
- DrawSpline
- Drop
- DropMany
- DropManyU
- Export
- ExportIcon
- GetFormulas
- GetFormulasU
- GetResults
- Import
- ImportIcon
- InsertFromFile
- InsertObject
- Layout
- Open
- OpenDrawWindow
- OpenIconWindow
- Paste
- PasteSpecial
- PasteToLocation
- ResizeToFitContents
- SetFormulas
- SetResults
- VisualBoundingBox
Properties
- AlignName
- AlternativeText
- Application
- BaseID
- Connects
- DataGraphicHidden
- DataGraphicHidesText
- DataGraphicHorizontalPosition
- DataGraphicShowBorder
- DataGraphicVerticalPosition
- Document
- EditCopy
- EventList
- GraphicItems
- Hidden
- Icon
- IconSize
- IconUpdate
- ID
- Index
- IndexInStencil
- IsChanged
- Layers
- MatchByName
- Name
- NameU
- NewBaseID
- ObjectType
- OLEObjects
- OneD
- Original
- PageSheet
- PatternFlags
- PersistsEvents
- Picture
- Prompt
- Shapes
- SpatialSearch
- Stat
- Title
- Type
- UniqueID
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.