NodeShape.AutoLayoutChildShapes Method
Positions the collection of shapes in the diagram automatically.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub AutoLayoutChildShapes ( _
shapeElementMap As IDictionary _
)
public void AutoLayoutChildShapes(
IDictionary shapeElementMap
)
public:
void AutoLayoutChildShapes(
IDictionary^ shapeElementMap
)
member AutoLayoutChildShapes :
shapeElementMap:IDictionary -> unit
public function AutoLayoutChildShapes(
shapeElementMap : IDictionary
)
Parameters
shapeElementMap
Type: IDictionaryThe collection of shapes to automatically position.
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.)
.NET Framework Security
- 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.