ENUMTEXTMETRICW structure (wingdi.h)
The ENUMTEXTMETRIC structure contains information about a physical font.
typedef struct tagENUMTEXTMETRICW {
NEWTEXTMETRICEXW etmNewTextMetricEx;
AXESLISTW etmAxesList;
} ENUMTEXTMETRICW, *PENUMTEXTMETRICW, *LPENUMTEXTMETRICW;
etmNewTextMetricEx
A NEWTEXTMETRICEX structure, containing information about a physical font.
etmAxesList
An AXESLIST structure, containing information about the axes for the font. This is only used for multiple master fonts.
ENUMTEXTMETRIC is an extension of NEWTEXTMETRICEX that includes the axis information for a multiple master font.
The EnumFonts, EnumFontFamilies, and EnumFontFamiliesEx functions have been modified to return pointers to the ENUMTEXTMETRIC and ENUMLOGFONTEXDV structures.
Note
The wingdi.h header defines ENUMTEXTMETRIC as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | wingdi.h (include Windows.h) |