Share via


ShapeGeometry.DoPaint Method

Draws the shape geometry, and its shadow if it has one.

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 Overridable Sub DoPaint ( _
    e As DiagramPaintEventArgs, _
    geometryHost As IGeometryHost _
)
public virtual void DoPaint(
    DiagramPaintEventArgs e,
    IGeometryHost geometryHost
)
public:
virtual void DoPaint(
    DiagramPaintEventArgs^ e, 
    IGeometryHost^ geometryHost
)
abstract DoPaint : 
        e:DiagramPaintEventArgs * 
        geometryHost:IGeometryHost -> unit  
override DoPaint : 
        e:DiagramPaintEventArgs * 
        geometryHost:IGeometryHost -> unit
public function DoPaint(
    e : DiagramPaintEventArgs, 
    geometryHost : IGeometryHost
)

Parameters

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace