Table of contents
TOC
Collapse the table of content
Expand the table of content

Selection Object (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Represents a subset of Shape objects for a page or master to which an operation can be applied.

Remarks

To retrieve a Selection object that corresponds to the set of shapes selected in a window, use the Selection property of a Window object.

The default property of a Selection object is Item.

After you retrieve a Selection object, you can add or remove shapes by using the Select method.

By default, the items reported by a Selection object do not include subselected or superselected Shape objects. Use the IterationMode property to control whether subselected and superselected Shape objects are reported. You can determine whether an individual item is subselected or superselected by using the ItemStatus property.

Methods

Name
AddToContainers
AddToGroup
Align
AutomaticLink
AvoidPageBreaks
BoundingBox
BreakLinkToData
BringForward
BringToFront
Combine
ConnectShapes
ConvertToGroup
Copy
Cut
Delete
DeleteEx
DeselectAll
Distribute
DrawRegion
Duplicate
Export
FitCurve
Flip
FlipHorizontal
FlipVertical
Fragment
GetCallouts
GetContainers
GetIDs
Group
Intersect
Join
Layout
LayoutChangeDirection
LayoutIncremental
LinkToData
MemberOfContainersIntersection
MemberOfContainersUnion
Move
MoveToSubprocess
Offset
RemoveFromContainers
RemoveFromGroup
ReplaceShape
Resize
ReverseEnds
Rotate
Rotate90
Select
SelectAll
SendBackward
SendToBack
SetContainerFormat
SetQuickStyle
Subtract
SwapEnds
Trim
Ungroup
Union
UpdateAlignmentBox
VisualBoundingBox

Properties

Name
Application
ContainingMaster
ContainingMasterID
ContainingPage
ContainingPageID
ContainingShape
Count
DataGraphic
Document
EventList
FillStyle
FillStyleKeepFmt
Item
ItemStatus
IterationMode
LineStyle
LineStyleKeepFmt
ObjectType
PersistsEvents
Picture
PrimaryItem
SelectionForDragCopy
Stat
Style
StyleKeepFmt
TextStyle
TextStyleKeepFmt
© 2017 Microsoft