Draws emphasis on the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public MustOverride Sub DoPaintEmphasis ( _
e As DiagramPaintEventArgs, _
geometryHost As IGeometryHost _
)
'使用
Dim instance As ShapeGeometry
Dim e As DiagramPaintEventArgs
Dim geometryHost As IGeometryHost
instance.DoPaintEmphasis(e, geometryHost)
public abstract void DoPaintEmphasis(
DiagramPaintEventArgs e,
IGeometryHost geometryHost
)
public:
virtual void DoPaintEmphasis(
DiagramPaintEventArgs^ e,
IGeometryHost^ geometryHost
) abstract
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 instance of host data for the geometry.
Remarks
An emphasized shape geometry looks different from a selected shape geometry. Emphasis helps the user identify which shape geometries are associated with each other.
Permissions
- 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.