TtfFontMetrics.MeasureString

TtfFontMetrics.MeasureString method

Measures string and returns string width.

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

Return Value

String width.

See Also