bdeSetAnnotationTextFontStyle

Sets the text fontStyle for an annotation.

Syntax

bdeSetAnnotationTextFontStyle(annotation, fontStyle)

Inputs

annotation
The annotation in which the text font style is to be set.
Type: BDE annotation
fontStyle
The font style that is to be set for text in the annotation. Choices include but are not limited to Arial, Cambria, Comic Sans MS, and Times New Roman. Right-click on the annotation box and select a font from the list.
Type: string

Examples

Set the text font style for an annotation:

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