共用方式為


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

'宣告
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