次の方法で共有


ShapeElement.OnPaintEmphasis(DiagramPaintEventArgs) Method

Definition

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.)

public:
 virtual void OnPaintEmphasis(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e);
public virtual void OnPaintEmphasis (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs e);
abstract member OnPaintEmphasis : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs -> unit
override this.OnPaintEmphasis : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs -> unit
Public Overridable Sub OnPaintEmphasis (e As DiagramPaintEventArgs)

Parameters

e
DiagramPaintEventArgs

A DiagramPaintEventArgs that contains event data. The coordinate system of the Graphics object is in world units and relative to the parent shape.

Applies to