Share via


NodeShape.AutoLayoutChildShapes(IDictionary) Method

Definition

Position the specified collection of ShapeElements using the graph object.

public:
 void AutoLayoutChildShapes(System::Collections::IDictionary ^ shapeElementMap);
public void AutoLayoutChildShapes (System.Collections.IDictionary shapeElementMap);
member this.AutoLayoutChildShapes : System.Collections.IDictionary -> unit
Public Sub AutoLayoutChildShapes (shapeElementMap As IDictionary)

Parameters

shapeElementMap
IDictionary

Collection of ShapeElements to layout.

Remarks

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.)

Applies to