共用方式為


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Sub PurgeLayoutObjects
public void PurgeLayoutObjects()
public:
void PurgeLayoutObjects()
member PurgeLayoutObjects : unit -> unit
public function PurgeLayoutObjects()

Remarks

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

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace