bdeGetAnnotationInDiagram

Gets an annotation, annotationName, from a given diagram.

Syntax

annotation = bdeGetAnnotationInDiagram(diagram, annotationName)

Inputs

diagram
The diagram in which to get the annotation.
Type: BDE diagram
annotationName
The name of the annotation in the diagram.
Type: string

Outputs

annotation
The annotation that is returned from the diagram.
Type: BDE annotation

Examples

Get an annotation from a diagram:

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

          
            annotation = hwdcAnnotation