• 1.摘要
  • 2.基本信息
  • 3.函数功能
  • 4.参数
  • 5.VC示例
  • 6.易语言声明
  • 7.VB声明
  • 8.参考资料

CreateFont

CreateFont函数的作用是创建一种有特殊性的逻辑字体,此逻辑字体可以在后面被任何设备选择。

基本信息

  • 外文名

    CreateFont

  • 作用

    创建一种有特殊性的逻辑字体

函数功能

函数原型:

HFONT CreateFont(

int nHeight, // logical height of font height

int nWidth, // logical average character width

int nEscapement, // angle of escapement

int nOrientation, // base-line orientation angle

int fnWeight, // font weight

DWORD fdwItalic, // italic attribute flag

DWORD fdwUnderline, // underline attribute flag

DWORD fdwStrikeOut, // strikeout attribute flag

DWORD fdwCharSet, // character set identifier

DWORD fdwOutputPrecision, // output precision

DWORD fdwClipPrecision, // clipping precision

DWORD fdwQuality, // output quality

DWORD fdwPitchAndFamily, // pitch and family

LPCTSTR lpszFace // pointer to typeface name string

);

参数