Shape.ConnectedShapes

Shape.ConnectedShapes method

Returns an array that contains the identifiers (IDs) of the shapes that are connected to the shape.

public long[] ConnectedShapes(ConnectedShapesFlags flag, string categoryFilter)
ParameterTypeDescription
flagConnectedShapesFlagsFilters the array of returned shape IDs by the directionality of the connectors. See Remarks for possible valuesConnectedShapesFlags.
categoryFilterStringFilters the array of returned shape IDs by limiting it to the IDs of shapes that match the specified categoryString.

Return Value

IDs arrayInt64.

See Also