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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgsThe diagram paint event arguments referencing the Graphics drawing surface.
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe shape or link.
.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.