
If you specify an invalid shape for pOtherConnectedShape, Microsoft Visio returns an Invalid Parameter error. Guides are excluded from any list of shapes returned. The GluedShapes method fails if the source object is a part of a master or a guide. You can define multiple categories for a shape by separating those categories with semi-colons.Ĭonnection points with dual directionality (both inward and outward) are identified as incoming or outgoing based on the way that they are used in a particular connection. You can define categories in the User.msvShapeCategories cell in the ShapeSheet for a shape. If the source object is a 2D shape, return the 2D shapes to which this shape is glued.Ĭategories are user-defined strings that you can use to categorize shapes and thereby to restrict membership in a container. If the source object is a 1D shape, return the 2D shape to which the end point is glued. If the source object is a 2D shape, return the 2D shapes that are glued to this shape. If the source object is a 1D shape, return the 2D shape to which the begin point is glued. Return all 2D shapes that are glued to this shape and all 2D shapes to which this shape is glued. Return 1D shapes whose begin points are glued to this shape. Return 1D shapes whose end points are glued to this shape.

Return all 1D shapes that are glued to this shape. See Remarks for more informationĪdditional shape to which returned shapes must also be glued.įlags must be one of the following VisGluedShapesFlags constants. The dimensionality and directionality of the connection points of the shapes to return.

GluedShapes( _Flags_, _CategoryFilter_, _pOtherConnectedShape_ )Įxpression A variable that represents a Shape object.

Returns an array that contains the identifiers of the shapes that are glued to a shape.
