ShapeElement::ShapeGeometry Property

 

Gets the geometry for the shape, such as Rectangle, RoundedRectangle, or Ellipse, which defines operations associated with the outline of the shape.

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

public:
property ShapeGeometry^ ShapeGeometry {
	virtual ShapeGeometry^ get();
}

To override operations defined in the shape geometry, derive your own geometry class from one of the subclasses of ShapeGeometry. Then override this property to return an instance of your geometry class. Alternatively, override DoFoldToShape.

Return to top
Show: