TextWidth()

Syntax

Width = TextWidth(Text$)
Description
Return the width of the given string in the current output using the current font.

Parameters

Text$ The text to measure.

Return value

Returns the width of the given text in pixels.

See Also

TextHeight(), DrawingFont()

Supported OS

All

<- TextHeight() - 2DDrawing Index