ShapeGeometry.DoPaintGeometry Method
Paints the boundary and background of the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Protected MustOverride Sub DoPaintGeometry ( _
e As DiagramPaintEventArgs, _
geometryHost As IGeometryHost _
)
protected abstract void DoPaintGeometry(
DiagramPaintEventArgs e,
IGeometryHost geometryHost
)
protected:
virtual void DoPaintGeometry(
DiagramPaintEventArgs^ e,
IGeometryHost^ geometryHost
) abstract
abstract DoPaintGeometry :
e:DiagramPaintEventArgs *
geometryHost:IGeometryHost -> unit
protected abstract function DoPaintGeometry(
e : DiagramPaintEventArgs,
geometryHost : IGeometryHost
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
The diagram paint event arguments.
- 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.