Function
getTextExtentPoint
corresponds to the C function GetTextExtentPoint
in the Windows SDK. It has the following type:
val getTextExtentPoint : hdc * string -> int * int
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.