ANNFONT

Summary

The ANNFONT structure provides getting or setting font characteristics of the annotation name.

Syntax

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

Members

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

Note: LF_FACESIZE is defined as

#define LF_FACESIZE         32 

Usage

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.