Shape Object [Visio 2003 SDK Documentation]
Represents anything you can select in a drawing window: a basic shape, a group, a guide, or an object from another application embedded or linked in Microsoft Office Visio.
The default property of a Shape object is Name.
You can retrieve a particular Shape object from the Shapes collection of the following objects:
- Page object
- Master object
- Shape object that represents a group
To retrieve Cell objects and Connect objects, use the Cells and Connects properties of a Shape object, respectively.
Note The PageSheet property of a Page object and Master object returns a Shape object whose Type property returns visTypePage. It has cells that specify properties such as drawing size and drawing scale. The DocumentSheet property of a Document object also returns a Shape object whose Type property returns visTypeDoc. It has cells that specify properties of the document.
Properties | AreaIU property | CellExists property | CellExistsU property | Cells property | CellsRowIndex property | CellsRowIndexU property | CellsSRC property | CellsSRCExists property | CellsU property | Characters property | CharCount property | ClassID property | Connects property | ContainingMaster property | ContainingMasterID property | ContainingPage property | ContainingPageID property | ContainingShape property | Data1 property | Data2 property | Data3 property | DistanceFrom property | DistanceFromPoint property | Document property | EventList property | FillStyle property | FillStyleKeepFmt property | ForeignData property | ForeignType property | FromConnects property | GeometryCount property | Help property | Hyperlinks property | ID property | Index property | IsOpenForTextEdit property | Language property | Layer property | LayerCount property | LengthIU Property | LineStyle property | LineStyleKeepFmt property | Master property | MasterShape property | Name property | NameID property | NameU property | Object property | ObjectIsInherited property | ObjectType property | OneD property | Paths property | PathsLocal property | PersistsEvents property | Picture property | ProgID property | RootShape property | RowCount property | RowExists property | RowsCellCount property | RowType property | Section property | SectionExists property | Shapes property | SpatialNeighbors property | SpatialRelation property | SpatialSearch property | Stat property | Style property | StyleKeepFmt property | Text property | TextStyle property | TextStyleKeepFmt property | Type property | UniqueID property
Methods | AddGuide method | AddHyperlink method | AddNamedRow method | AddRow method | AddRows method | AddSection method | BoundingBox method | BringForward method | BringToFront method | CenterDrawing method | ConvertToGroup method | Copy method | CreateSelection method | Cut method | Delete method | DeleteRow method | DeleteSection method | DrawArcByThreePoints method | DrawBezier method | DrawCircularArc method | DrawLine method | DrawNURBS Method | DrawOval method | DrawPolyline method | DrawQuarterArc method | DrawRectangle method | DrawSpline method | Drop method | DropManyU method | Duplicate method | Export method | FitCurve method | FlipHorizontal method | FlipVertical method | GetFormulas method | GetFormulasU method | GetResults method | Group method | HitTest method | Import method | InsertFromFile method | InsertObject method | Layout method | Offset method | OpenDrawWindow method | OpenSheetWindow method | Paste method | PasteSpecial method | ReverseEnds method | Rotate90 method | SendBackward method | SendToBack method | SetBegin method | SetCenter method | SetEnd method | SetFormulas method | SetResults method | SwapEnds method | TransformXYFrom method | TransformXYTo method | Ungroup method | UpdateAlignmentBox method | XYFromPage method | XYToPage method
Events | BeforeSelectionDelete event | BeforeShapeDelete event | BeforeShapeTextEdit event | CellChanged event | ConvertToGroupCanceled event | FormulaChanged event | QueryCancelConvertToGroup event | QueryCancelSelectionDelete event | QueryCancelUngroup event | SelectionAdded event | SelectionDeleteCanceled event | ShapeAdded event | ShapeChanged event | ShapeExitedTextEdit event | ShapeParentChanged event | TextChanged event | UngroupCanceled event
Parent Objects | Cell Object | Characters Collection | Connect Object | Connects Collection | Document Object | Hyperlink Object | Hyperlinks Collection | Master Object | OLEObject Object | Page Object | Row Object | Section Object | Selection Object | Shape Object | Shapes Collection | Window Object
Child Objects | Cell Object | Characters Object | Connects Object | Document Object | EventList Object | Hyperlinks Object | Layer Object | Master Object | Page Object | Paths Object | Section Object | Selection Object | Shape Object | Shapes Object
See Also | Shapes collection