bdeAddAnnotationToDiagram
Adds an annotation to a diagram.
Syntax
bdeAddAnnotationToDiagram(diagram, annotation)
Inputs
- diagram
- The diagram in which to add the annotation.
- annotation
- Annotation that is to be added to the diagram.
Examples
Add an annotation to a diagram:
diagram = bdeGetCurrentDiagram();
annotation = bdeCreateAnnotationText('annotation1', 'This is a new annotation');
bdeAddAnnotationToDiagram(diagram, annotation);