ImageField.DoPaint Method
Draws the contents of the ShapeField.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overrides Sub DoPaint ( _
e As DiagramPaintEventArgs, _
parentShape As ShapeElement _
)
public override void DoPaint(
DiagramPaintEventArgs e,
ShapeElement parentShape
)
public:
virtual void DoPaint(
DiagramPaintEventArgs^ e,
ShapeElement^ parentShape
) override
abstract DoPaint :
e:DiagramPaintEventArgs *
parentShape:ShapeElement -> unit
override DoPaint :
e:DiagramPaintEventArgs *
parentShape:ShapeElement -> unit
public override function DoPaint(
e : DiagramPaintEventArgs,
parentShape : ShapeElement
)
Parameters
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgsA DiagramPaintEventArgs that references the graphics object.
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent shape of this field.
.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.