getTextExtent
 
 
 
getTextExtent <string>

Returns a Point2 value containing the size of the string in pixels if it was displayed in a command panel.

See Also