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,
	string associatedObject
)
Visual Basic
Public Function AddAnnotationControl ( _
	content As FrameworkElement, _
	position As Point3D, _
	anchorPoint As Point3D, _
	associatedObject As String _
) As AnnotationCanvas
JScript
public function AddAnnotationControl(
	content : FrameworkElement, 
	position : Point3D, 
	anchorPoint : Point3D, 
	associatedObject : String
) : 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
associatedObject
Type: System..::..String
The associated object of the annotatation

Return Value

The AnnotationCanvas that was created

See Also