◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define GETEXTENDEDTEXTMETRICS 256 short Control(lpDevice, GETEXTENDEDTEXTMETRICS, lpInData, lpOutData) LPPDEVICE lpDevice; LPEXTTEXTDATA lpInData; LPEXTTEXTMETRIC lpOutData; The GETEXTENDEDTEXTMETRICS escape fills the buffer pointed to by the lpOutData parameter with the extended text metrics for the currently selected font. Parameter Description ──────────────────────────────────────────────────────────────────────────── lpDevice A long pointer to a PDEVICE structure, which is the destination device bitmap. lpInData Points to a EXTTEXTDATA structure containing information lpOutData Points to a EXTTEXTMETRIC structure. Return Value The return value is the number of bytes copied to the buffer pointed to by the lpOutData parameter. This value will never exceed the size specified by the etmSize member in the EXTTEXTMETRIC structure. Otherwise, the return value is zero if the escape fails or is not implemented. Comments The values returned in many of the fields of the EXTTEXTMETRIC structure are affected by whether relative character widths are enabled or disabled. See Also ENABLERELATIVEWIDTHS, EXTTEXTDATA, EXTTEXTMETRIC, PDEVICE ♦