Version

Highlight Method (Primitive)

Adds highlighting onto the current Primitive.
Syntax
'Declaration
 
Public Overridable Sub Highlight( _
   ByVal scene As SceneGraph, _
   ByVal outlineColor As Color, _
   ByVal fillColor As Color _
) 
public virtual void Highlight( 
   SceneGraph scene,
   Color outlineColor,
   Color fillColor
)

Parameters

scene
A scene graph to add the highlighting Primitive to the foreground of.
outlineColor
A color to use as the outline of the highlighting Primitive, passed in based on the applicable chart appearance.
fillColor
A color to use in solid filling the highlighting Primitive, passed in based on the applicable chart appearance.
Remarks

Highlighting is performed by creating another Primitive object of the same shape and size as the current Primitive, and placing it in the foreground at the Primitive's current location. The colors that should be used for the highlighting are set by the developer in the Properties Editor for the currently active chart appearance.

When implemented by a subclass, this method allows the Primitive to create another Primitive of the same shape and size, and the specified color style configured by the developer, that highlights it. The implementation should add the highlighting Primitive to the passed in SceneGraph object.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also