共用方式為


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

.NET Framework Security

See Also

Reference

NodeShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace