NodeShape::AutoLayoutChildShapes Method (IDictionary^)

 

Positions the collection of shapes in the diagram automatically.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
void AutoLayoutChildShapes(
	IDictionary^ shapeElementMap
)

Parameters

shapeElementMap
Type: System.Collections::IDictionary^

The collection of shapes to automatically position.

If the collection contains shapes with relative geometry (for example, pasting two shapes A and B, where component shape B is to the above-and-right of component shape A), we will maintain their relative geometry, and position them in an area that can accommodate their geometry. This area may be off-screen. If pasting inside a compound shape, that compound shape will grow as needed to fit the new children. (This scenario will generally happen for copy/paste.)

Return to top
Show: