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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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.DiagramPaintEventArgs
The diagram paint event arguments referencing the Graphics drawing surface.
- geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
The 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.