共用方式為


ShapeGeometry.DoPaintEmphasis Method

Draws emphasis on the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public MustOverride Sub DoPaintEmphasis ( _
    e As DiagramPaintEventArgs, _
    geometryHost As IGeometryHost _
)
public abstract void DoPaintEmphasis(
    DiagramPaintEventArgs e,
    IGeometryHost geometryHost
)
public:
virtual void DoPaintEmphasis(
    DiagramPaintEventArgs^ e, 
    IGeometryHost^ geometryHost
) abstract
abstract DoPaintEmphasis : 
        e:DiagramPaintEventArgs * 
        geometryHost:IGeometryHost -> unit 
public abstract function DoPaintEmphasis(
    e : DiagramPaintEventArgs, 
    geometryHost : IGeometryHost
)

Parameters

Remarks

An emphasized shape looks different from a selected shape. Emphasis is used to show which elements are related to the selected shape. For example, when the user selects a link, the labels related to it can be emphasized. For more information, see RelatedShapeToEmphasize.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace