ShapeGeometry.DoPaintEmphasis Method
Draws emphasis on the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgsThe diagram paint event arguments.
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe shape or link.
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
- 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.