Create a new annotation object of the given type

Namespace: Ico.Gwx
Assembly: Gwx3DControl (in Gwx3DControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public AnnotationCanvas AddAnnotationControl(
	AnnotationType annotationType,
	bool editAnnotation,
	GwxElement customElement,
	bool throughWrapper
)
Visual Basic
Public Function AddAnnotationControl ( _
	annotationType As AnnotationType, _
	editAnnotation As Boolean, _
	customElement As GwxElement, _
	throughWrapper As Boolean _
) As AnnotationCanvas
JScript
public function AddAnnotationControl(
	annotationType : AnnotationType, 
	editAnnotation : boolean, 
	customElement : GwxElement, 
	throughWrapper : boolean
) : AnnotationCanvas

Parameters

annotationType
Type: Ico.Gwx..::..AnnotationType
the type of annomation to create
editAnnotation
Type: System..::..Boolean
Set to true to switch the editor into 2D editing mode and edit the annomation content
customElement
Type: Ico.Gwx..::..GwxElement
The custom element to use for the annotation in custom mode
throughWrapper
Type: System..::..Boolean
Whether or not to go through the wrapper to add annotation

Return Value

The annotation canvas

See Also