Version

RenderAnnotation(SceneGraph,Primitive) Method

Renders the annotation as a graphical element to the SceneGraph.
Syntax
'Declaration
 
Public Overloads MustOverride Sub RenderAnnotation( _
   ByVal scene As SceneGraph, _
   ByVal parent As Primitive _
) 
public abstract void RenderAnnotation( 
   SceneGraph scene,
   Primitive parent
)

Parameters

scene
A reference to the SceneGraph, which contains a collection of Primitives to be displayed on the chart.
parent
The parent primitive assigned to the current annotation.
Remarks

In this method body, the Primitives which constitute the annotation should be created and added using the SceneGraph.Add method.

This overload of the RenderAnnotation method will be called by the Annotation Layer when an annotation's Location has matched with a parent primitive. For example, if the annotation's Row and Column are the same as another primitive's, a parent primitive has been found for the annotation, and this method will be called.

If multiple parent matches have been found for a single annotation, for example if the annotation uses the -2 wildcard for its row and/or column property, a single annotation will match many parents and thus, this method will be called many times.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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