Add a new text annotation

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public AnnotationCanvas AddAnnotationControl(
	FrameworkElement content,
	Point3D position,
	Point3D anchorPoint,
	Color lineColor,
	bool showLine
)
Visual Basic
Public Function AddAnnotationControl ( _
	content As FrameworkElement, _
	position As Point3D, _
	anchorPoint As Point3D, _
	lineColor As Color, _
	showLine As Boolean _
) As AnnotationCanvas
JScript
public function AddAnnotationControl(
	content : FrameworkElement, 
	position : Point3D, 
	anchorPoint : Point3D, 
	lineColor : Color, 
	showLine : boolean
) : AnnotationCanvas

Parameters

content
Type: System.Windows..::..FrameworkElement
The content of the annotation
position
Type: System.Windows.Media.Media3D..::..Point3D
The position of the annotation
anchorPoint
Type: System.Windows.Media.Media3D..::..Point3D
The anchor point of the annotatation
lineColor
Type: System.Windows.Media..::..Color
The color of the line used for anchoring the annotation
showLine
Type: System..::..Boolean
set to true to show the line used for anchoring the annotation

Return Value

The AnnotationCanvas that was created

See Also