Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieve font characteristics.
Syntax
BOOL GetTextMetrics(
[in] TEXTMETRIC *pTextMetrics
);
Parameters
-
pTextMetrics [in]
-
Type: TEXTMETRIC*
Pointer to a TEXTMETRIC structure, which contains font properties. If Unicode is defined, the function returns a TEXTMETRICW structure. Otherwise, the function returns a TEXTMETRICA structure.
Return value
Type: BOOL
Nonzero if the function is successful; otherwise 0.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also