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

C++
public:
 virtual void OnPaintEmphasis(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPaintEventArgs ^ e);

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

Product Versions
Visual Studio SDK 2017, 2019, 2022