ANNFONT (Document/Medical only)

typedef struct tagANNFONT
{
   L_UINT32 uStructSize;
   L_TCHAR szFontName[LF_FACESIZE];
   L_BOOL bFontBold;
   L_BOOL bFontItalic;
   L_BOOL bFontStrikeOut;
   L_BOOL bFontUnderline;
   L_DOUBLE dFontSize;
   DWORD dwReserved;
} ANNFONT, L_FAR *pANNFONT;

Member

Description

uStructSize

Size of this structure. Use sizeof(ANNFONT).

szFontName

Character string that contains the name of the font

bFontBold

Flag that indicates whether the font is bold. Possible values are:

 

Value

Meaning

 

TRUE

The font is bold

 

FALSE

The font is not bold

bFontItalic

Flag that indicates whether the font is italicized. Possible values are:

 

Value

Meaning

 

TRUE

The font is italicized

 

FALSE

The font is not italicized

bFontStrikeOut

Flag that indicates whether the font is drawn with a strikeout. Possible values are:

 

Value

Meaning

 

TRUE

The font is drawn with strikeout

 

FALSE

The font is drawn without strikeout

bFontUnderline

Flag that indicates whether the font is drawn with an underline. Possible values are:

 

Value

Meaning

 

TRUE

The font is drawn with an underline

 

FALSE

T he font is drawn without an underline

dFontSize

The size, in logical units, of the font's character cell or character.

dwReserved

Reserved for internal use. Must set this field to zero.

Comments

The ANNFONT structure is part of the ANNNAMEOPTIONS structure, and is used for setting or getting font characteristics of the annotation name.

For more information, refer to the documentation for ANNNAMEOPTIONS.

Note:

LF_FACESIZE is defined as

   #define LF_FACESIZE         32