GetStringWidth

float GetStringWidth(string s)

Description

Returns the length of a string in user unit. A font must be selected.

Parameters

s
The string whose length is to be computed.