Topic: version 4 MAXScript Language Improvements /User Interface
getTextExtent <string>
Returns a Point2 value containing the size of the string in pixels if it was displayed in a command panel.
See also
String Values