共用方式為


DWRITE_FONT_PROPERTY_ID列舉 (dwrite_3.h)

Syntax

typedef enum DWRITE_FONT_PROPERTY_ID {
  DWRITE_FONT_PROPERTY_ID_NONE,
  DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FAMILY_NAME,
  DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FAMILY_NAME,
  DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FACE_NAME,
  DWRITE_FONT_PROPERTY_ID_FULL_NAME,
  DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME,
  DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME,
  DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG,
  DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG,
  DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG,
  DWRITE_FONT_PROPERTY_ID_WEIGHT,
  DWRITE_FONT_PROPERTY_ID_STRETCH,
  DWRITE_FONT_PROPERTY_ID_STYLE,
  DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FACE_NAME,
  DWRITE_FONT_PROPERTY_ID_FONT_SOURCE_NAME,
  DWRITE_FONT_PROPERTY_ID_TOTAL,
  DWRITE_FONT_PROPERTY_ID_TOTAL_RS3,
  DWRITE_FONT_PROPERTY_ID_TOTAL_RS5,
  DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME,
  DWRITE_FONT_PROPERTY_ID_FAMILY_NAME,
  DWRITE_FONT_PROPERTY_ID_FACE_NAME
} ;

常數

 
DWRITE_FONT_PROPERTY_ID_NONE
DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FAMILY_NAME
DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FAMILY_NAME
DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FACE_NAME
DWRITE_FONT_PROPERTY_ID_FULL_NAME
DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME
DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME
DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG
DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG
DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG
DWRITE_FONT_PROPERTY_ID_WEIGHT
DWRITE_FONT_PROPERTY_ID_STRETCH
DWRITE_FONT_PROPERTY_ID_STYLE
DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FACE_NAME
DWRITE_FONT_PROPERTY_ID_FONT_SOURCE_NAME
DWRITE_FONT_PROPERTY_ID_TOTAL
DWRITE_FONT_PROPERTY_ID_TOTAL_RS3
DWRITE_FONT_PROPERTY_ID_TOTAL_RS5
DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME
DWRITE_FONT_PROPERTY_ID_FAMILY_NAME
DWRITE_FONT_PROPERTY_ID_FACE_NAME

規格需求

需求
最低支援的用戶端 Windows 10 版本 1809 (Windows 應用程式 SDK 0.5 或更新版本)
標頭 dwrite_3.h