bdeAddAnnotationToDiagram

Adds an annotation to a diagram.

Syntax

bdeAddAnnotatinInDiagram(diagram, annotation)

Inputs

diagram
The diagram that the annotation will be added to.
Type: hwscpDiagram
annotation
Annotation to add to the diagram.
Type: hwdcAnnotation

Examples

Adds an annotation to a digram:

          diagram = bdeGetCurrentDiagram();
          annotation = bdeCreateAnnotationText('annotation1', 'This is a new annotation');
          bdeAddAnnotationToDiagram(diagram, annotation);