AnnSetFontName method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnSetFontName(HANNOBJECT hObject, AnsiString strFontName, bool bSelected)

Delphi Syntax

Function AnnSetFontName (hObject: HANNOBJECT; strFontName: String; bSelected: Boolean ): L_INT

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Sets the font of one or more annotation objects. You specify the name of the font in a character string.

This method does not affect objects that do not have this property or that do not let you change the property. For descriptions of the various types of objects and their properties, refer to Types of Annotations.

See Also

Elements:

AnnGetFontBold method, AnnSetFontBold method, AnnGetFontName method, AnnSetFontSize method, AnnGetFontSize method, AnnSetFontUnderline method, AnnGetFontUnderline method, AnnSetFontStrikeThrough method, AnnGetFontStrikeThrough method, AnnSetFontItalic method, AnnGetFontItalic method

Topics:

Annotations (Document/Medical only): Object Manipulation