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
'Dichiarazione
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.DiagramPaintEventArgs
The diagram paint event arguments.
- geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
The 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.