Name
page:TextWidth -- get text width
Synopsis
w = page:TextWidth(text)
Function
page:TextWidth() gets the width of the text in the current font size, character spacing and word spacing.

Inputs
text
the text whose width to get
Results
w
text width

Show TOC