ShapeElement.PurgeLayoutObjects Method

Removes the objects that are used to position the shape on the diagram grid.

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

public void PurgeLayoutObjects()

When this method is called, the graph points for the shape have already been removed.

Show: