NodeShapeGeometry.DoPaintEmphasis Method
Draws visual emphasis on the shape. This does not indicate selection, it only draws the user's attention to this shape when another shape is selected. (See ShapeElement.RelatedShapeToEmphasize.)
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overrides Sub DoPaintEmphasis ( _
e As DiagramPaintEventArgs, _
geometryHost As IGeometryHost _
)
public override void DoPaintEmphasis(
DiagramPaintEventArgs e,
IGeometryHost geometryHost
)
public:
virtual void DoPaintEmphasis(
DiagramPaintEventArgs^ e,
IGeometryHost^ geometryHost
) override
abstract DoPaintEmphasis :
e:DiagramPaintEventArgs *
geometryHost:IGeometryHost -> unit
override DoPaintEmphasis :
e:DiagramPaintEventArgs *
geometryHost:IGeometryHost -> unit
public override function DoPaintEmphasis(
e : DiagramPaintEventArgs,
geometryHost : IGeometryHost
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
The DiagramPaintEventArgs that contains paint event data.
- geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
The instance data for the geometry.
.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.