ENUMTEXTMETRICA structure (wingdi.h)
The ENUMTEXTMETRIC structure contains information about a physical font.
Syntax
typedef struct tagENUMTEXTMETRICA {
NEWTEXTMETRICEXA etmNewTextMetricEx;
AXESLISTA etmAxesList;
} ENUMTEXTMETRICA, *PENUMTEXTMETRICA, *LPENUMTEXTMETRICA;
Members
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.
Remarks
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 which 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 not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
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) |