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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.