bdeRemoveAnnotationFromDiagram

Deletes a given annotation from a diagram.

Syntax

bdeRemoveAnnotationFromDiagram(diagram, annotation)

Inputs

diagram
The diagram that the annotation is in.
Type: BDE diagram
annotation
The annotation to remove.
Type: BDE annotation

Examples

Remove an annotation from a diagram:

          diagram = bdeGetCurrentDiagram();
          annotation = bdeGetAnnotationInDiagram(diagram, 'annotation1');
          bdeRemoveAnnotationFromDiagram(diagram, annotation);