Text Width

Calculates the width in pixels of some text

Syntax

width = Text Width (string)

Description

Calculates the width in pixels that the given string will occupy if drawn on the current canvas with the current font settings by the Draw Text command.

See also:
The Text Height, Text Descent and Draw Text functions.

Table of contents