ArcBasicDocs

StringWidth

Width of a string in the current font.

StringWidth ( string$ )

Parameters

string$
the text to measure.

Description

Gives back how many pixels wide a piece of text would be in the current font. Use it to centre or right-align text yourself, or to fit text in a box.

See also