NodeShape.AutoLayoutChildShapes Method
Positions the collection of shapes in the diagram automatically.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
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.)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.