ICanvas.MeasureText

ICanvas.MeasureText method

Measures the width of the specified text using the current font properties.

public float MeasureText(string text)
ParameterTypeDescription
textStringThe text to measure.

Return Value

The width of the text.

See Also