Visio (的 Shape 物件)
代表您可以在繪圖視窗中選取的任何項目:基本圖形、群組、輔助線,或是來自另一個內嵌或連結於 Microsoft Visio 中之應用程式的物件。
Shape 物件的預設屬性為 Name。
您可以從下列物件的 Shapes 集合擷取特定的 Shape 物件:
- Page 物件
- Master 物件
- 代表群組的 Shape 物件
若要擷取Cell物件和Connect物件,請分別使用Shape物件的Cells 和Connects屬性。
注意
Page 物件和Master物件的PageSheet屬性會傳回Shape物件,其Type屬性會傳回visTypePage。 它具有可指定繪圖大小與繪圖比例等屬性的儲存格。
Document 物件的DocumentSheet屬性也會傳回Shape物件,其Type屬性會傳回visTypeDoc。 它具有可指定文件屬性的儲存格。
- BeforeSelectionDelete
- BeforeShapeDelete
- BeforeShapeTextEdit
- CellChanged
- ConvertToGroupCanceled
- FormulaChanged
- GroupCanceled
- QueryCancelConvertToGroup
- QueryCancelGroup
- QueryCancelSelectionDelete
- QueryCancelUngroup
- SelectionAdded
- SelectionDeleteCanceled
- ShapeAdded
- ShapeChanged
- ShapeDataGraphicChanged
- ShapeExitedTextEdit
- ShapeLinkAdded
- ShapeLinkDeleted
- ShapeParentChanged
- TextChanged
- UngroupCanceled
- AddGuide
- AddHyperlink
- AddNamedRow
- AddRow
- AddRows
- AddSection
- AddToContainers
- AutoConnect
- BoundingBox
- BreakLinkToData
- BringForward
- BringToFront
- CenterDrawing
- ChangePicture
- ConnectedShapes
- ConvertToGroup
- Copy
- CreateSelection
- CreateSubProcess
- Cut
- Delete
- DeleteEx
- DeleteRow
- DeleteSection
- Disconnect
- DrawArcByThreePoints
- DrawBezier
- DrawCircularArc
- DrawLine
- DrawNURBS
- DrawOval
- DrawPolyline
- DrawQuarterArc
- DrawRectangle
- DrawSpline
- Drop
- DropMany
- DropManyU
- Duplicate
- Export
- FitCurve
- FlipHorizontal
- FlipVertical
- GetCustomPropertiesLinkedToData
- GetCustomPropertyLinkedColumn
- GetFormulas
- GetFormulasU
- GetLinkedDataRecordsetIDs
- GetLinkedDataRow
- GetResults
- GluedShapes
- Group
- HasCategory
- HitTest
- Import
- InsertFromFile
- InsertObject
- IsCustomPropertyLinked
- Layout
- LinkToData
- MoveToSubprocess
- Offset
- OpenDrawWindow
- OpenSheetWindow
- Paste
- PasteSpecial
- RemoveFromContainers
- ReplaceShape
- Resize
- ReverseEnds
- Rotate90
- SendBackward
- SendToBack
- SetBegin
- SetCenter
- SetEnd
- SetFormulas
- SetQuickStyle
- SetResults
- SwapEnds
- TransformXYFrom
- TransformXYTo
- Ungroup
- UpdateAlignmentBox
- VisualBoundingBox
- XYFromPage
- XYToPage
- AlternativeText
- 應用程式
- AreaIU
- CalloutsAssociated
- CalloutTarget
- CellExists
- CellExistsU
- Cells
- CellsRowIndex
- CellsRowIndexU
- CellsSRC
- CellsSRCExists
- CellsU
- Characters
- CharCount
- ClassID
- Comments
- Connects
- ContainerProperties
- ContainingMaster
- ContainingMasterID
- ContainingPage
- ContainingPageID
- ContainingShape
- Data1
- Data2
- Data3
- DataGraphic
- DistanceFrom
- DistanceFromPoint
- Document
- EventList
- FillStyle
- FillStyleKeepFmt
- ForeignData
- ForeignType
- FromConnects
- GeometryCount
- Help
- Hyperlinks
- 識別碼
- Index
- IsCallout
- IsDataGraphicCallout
- IsOpenForTextEdit
- Language
- Layer
- LayerCount
- LengthIU
- LineStyle
- LineStyleKeepFmt
- Master
- MasterShape
- MemberOfContainers
- Name
- NameID
- NameU
- Object
- ObjectIsInherited
- ObjectType
- OneD
- Parent
- Paths
- PathsLocal
- PersistsEvents
- Picture
- ProgID
- RootShape
- RowCount
- RowExists
- RowsCellCount
- RowType
- Section
- SectionExists
- Shapes
- SpatialNeighbors
- SpatialRelation
- SpatialSearch
- Stat
- Style
- StyleKeepFmt
- Text
- TextStyle
- TextStyleKeepFmt
- Title
- Type
- UniqueID
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。