6.7 Identifier reference

getTextExtentPoint

Function

The ML function getTextExtentPoint corresponds to the C function GetTextExtentPoint in the Windows SDK. It has the following type:

val getTextExtentPoint : hdc * string -> int * int

Instead of returning a BOOL like the Windows function, the ML function returns int * int for the width and height of the text, and raises a WindowSystemError exception on error.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker