Next Previous Up Top Contents Index

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 2.0 - 29 Jul 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker