Lays out the collection of element shapes on the diagram automatically.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub AutoLayoutShapeElements ( _
shapeElementCollection As ICollection _
)
'使用
Dim instance As Diagram
Dim shapeElementCollection As ICollection
instance.AutoLayoutShapeElements(shapeElementCollection)
public void AutoLayoutShapeElements(
ICollection shapeElementCollection
)
public:
void AutoLayoutShapeElements(
ICollection^ shapeElementCollection
)
public function AutoLayoutShapeElements(
shapeElementCollection : ICollection
)
Parameters
shapeElementCollection
Type: System.Collections.ICollectionThe collection of element shapes.
Permissions
- 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.