Draws the shape geometry and, if available, the shadow for the shape geometry.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Sub DoPaint ( _
e As DiagramPaintEventArgs, _
geometryHost As IGeometryHost _
)
'使用
Dim instance As ShapeGeometry
Dim e As DiagramPaintEventArgs
Dim geometryHost As IGeometryHost
instance.DoPaint(e, geometryHost)
public virtual void DoPaint(
DiagramPaintEventArgs e,
IGeometryHost geometryHost
)
public:
virtual void DoPaint(
DiagramPaintEventArgs^ e,
IGeometryHost^ geometryHost
)
public function DoPaint(
e : DiagramPaintEventArgs,
geometryHost : IGeometryHost
)
Parameters
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgsThe diagram paint event arguments.
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe instance of host data for the geometry.
Permissions
- 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.