FontMetrics.MeasureString

FontMetrics.MeasureString method

Measures string and returns string width.

public abstract double MeasureString(string unicode, double fontSize)
ParameterTypeDescription
unicodeStringUnicode string.
fontSizeDoubleFont size.

Return Value

String width.

See Also