Share via


Diagram.ShapeGeometry Property

Gets the geometry of the diagram.

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 Overrides ReadOnly Property ShapeGeometry As ShapeGeometry
public override ShapeGeometry ShapeGeometry { get; }
public:
virtual property ShapeGeometry^ ShapeGeometry {
    ShapeGeometry^ get () override;
}
abstract ShapeGeometry : ShapeGeometry with get 
override ShapeGeometry : ShapeGeometry with get
override function get ShapeGeometry () : ShapeGeometry

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeGeometry
The geometry of the diagram.

Examples

public override Microsoft.VisualStudio.Modeling.Diagrams.ShapeGeometry ShapeGeometry
{
    get
    {
        return LifelineGeometry.Instance;
    }
}

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace