Share via


Diagram.ShapeGeometry Property

Gets the geometry of the diagram.

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

Syntax

'Declaration
Public Overrides ReadOnly Property ShapeGeometry As ShapeGeometry
'Usage
Dim instance As Diagram 
Dim value As ShapeGeometry 

value = instance.ShapeGeometry
public override ShapeGeometry ShapeGeometry { get; }
public:
virtual property ShapeGeometry^ ShapeGeometry {
    ShapeGeometry^ get () override;
}
public 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

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace