bdeSetAnnotationTextFontStyle

Sets the text fontStyle for an annotation.

Syntax

bdeSetAnnotationTextFontStyle(annotation, fontStyle)

Inputs

annotation
The annotation that will have it's text font style set.
Type: hwdcAnnotation
fontStyle
The font style to set for the text annotation. Choices include but are not limited to Arial, Cambria, Comic Sans MS, and Times New Roman. The user can right click on the annotation box and press font in order to see all the possible choices that exist.
Type: string

Examples

Set the text font style for an annotation:

          annotation = bdeCreateAnnotationText('annotation1', 'This is a new annotation');
          bdeSetAnnotationTextFontStyle(annotation, 'Times New Roman');