Selection Members (Visio)
Represents a subset of Shape objects for a page or master to which an operation can be applied.
Adds the selection of shapes to all underlying containers that allow it as a member.
Adds the selected shapes to the selected group.
Aligns two or more selected shapes.
Links selected shapes to data rows in the specified data recordset automatically, without requiring you to specify the exact correspondence of all shapes and data rows. Returns the number of shapes linked.
Makes small adjustments to selected shapes to move them off page breaks.
Returns a rectangle that tightly encloses the shapes of a selection.
Breaks links between all shapes in the selection and data rows in the specified data recordset.
Brings the shape or selected shapes forward one position in the z-order.
Brings the shape or selected shapes to the front of the z-order.
Creates a new shape by combining selected shapes.
Connects two or more selected shapes with a dynamic connector. ReturnsNothing.
Converts a selection or an object from another application (a linked or embedded object) to a group.
Copies a selection to the Clipboard.
Deletes a selection and places it on the Clipboard.
Deletes an object or selection.
Deletes additional shapes associated with the selection, such as connectors and unselected container members, when the selection is deleted.
Deselects all shapes in a window or selection.
Distributes three or more selected shapes at regular intervals on the drawing page. The order of selection is irrelevant.
Draws a new shape that represents the region containing a given point.
Duplicates a selection.
Exports an object from Microsoft Visio to a file format such as .bmp, .dib, .dwg, .dxf, .emf, .emz, .gif, .htm, .jpg, .png, .svg, .svgz, .tif, or .wmf.
Reduces the number of geometry segments in a shape or shapes by replacing them with similar spline, arc, and line segments that approximate the paths of the initial segments. Typically, this reduces the number of segments in the shape.
Flips selected shapes either as a group or individually about their pins. Returns Nothing.
Flips an object horizontally.
Flips an object vertically.
Breaks selected shapes into smaller shapes.
Returns the list of identifiers of the callout shapes in the selection.
Returns an array of shape identifiers (IDs) of the container shapes in the selection.
Gets the shape IDs of the shapes in the selection.
Groups the objects that are selected in a selection, or it converts a shape into a group.
Creates one closed shape from the area in which selected shapes overlap or intersect.
Creates a new shape by joining selected shapes.
Lays out the shapes and/or reroutes the connectors for the page, master, group, or selection.
Revises the layout of a selection of connected shapes by rotating or flipping a connected diagram without rotating or flipping the individual shapes.
Makes small adjustments to the position of shapes in the selection to better align the shapes or to space them evenly from other shapes.
Links a selection of shapes to a single data row in a data recordset.
Returns an array of identifiers of the shapes that belong to the normal or list containers that contain all the shapes in the selection.
Returns an array of identifiers of the shapes that belong to the normal or list containers that contain at least one of the shapes in the selection.
Moves a selection a specified distance.
Moves the selection to the specified page, and drops a replacement shape on the source page and links it to the target page. Returns the selection of moved shapes on the target page.
Offsets a selection a specified amount.
Removes the selection of shapes from all lists and containers of which the selection is a member.
Removes selected shapes from a group.
Resizes the selection by moving shape handles as specified.
Reverses an object by flipping it both horizontally and vertically.
Rotates selected shapes either as a group or individually about their pins.
Rotates an object 90 degrees counterclockwise.
Selects or clears the selection of an object.
Selects all possible shapes in a window or selection.
Moves a shape or selected shapes back one position in the z-order.
Moves the shape or selected shapes to the back of the z-order.
Changes the formatting of one aspect of all the containers in the selection, and returns an array of identifiers of shapes that belong to the containers and whose formatting was changed.
Subtracts the areas that overlap the selected shape.
Swaps the begin and endpoints of a one-dimensional (1-D) shape.
Trims selected shapes into smaller shapes.
Ungroups a group.
Creates a new shape from the perimeter of selected shapes.
Updates the alignment box for a shape.
Returns the instance of Microsoft Visio that is associated with an object. Read-only.
Returns the Master object that contains an object. Read-only.
Returns the ID of the Master object that contains an object. Read-only.
Returns the page that contains an object.
Returns the ID of the page that contains an object. Read-only.
Returns the Shape object that contains an object or collection. Read-only.
Returns the number of objects in a collection. Read-only.
Gets the data graphic master (Master object of type visTypeDataGraphic) of the primary shape in the selection. Sets the data graphic master of all shapes in the selection. Read/write.
Gets the Document object that is associated with an object. Read-only.
Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only.
Returns or sets the fill style for an object. Read/write.
Applies a fill style to an object while preserving local formatting. Read/write.
Returns an object from a collection. The Item property is the default property for all collections, and for the Path and Selection objects. Read-only.
Indicates if an item in a Selection object is subselected, if the group to which it belongs is selected, or if it is the primary item. Read-only.
Determines whether a Selection object reports subselected shapes and groups in which a shape is selected. Read/write.
Specifies the line style for an object. Read/write.
Applies a line style to an object while preserving local formatting. Read/write.
Returns an object's type. Read-only.
Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only.
Returns a picture that represents an enhanced metafile (EMF) contained in a master, shape, selection, or page. Read-only.
Returns the Shape object that is a Selection object's primary item. Read-only.
Returns the Selection object that represents the collection of shapes that will participate in drag or copy operations, based on the current selection. Read-only.
Returns status information for an object. Read-only.
Gets or sets the style for a Selection object. Read/write.
Applies a style to an object while preserving local formatting. Read/write.
Gets or sets the text style for an object. Read/write.
Applies a text style to an object while preserving local formatting. Read/write.