PSGetTextHeight()

Syntax

Function PSGetTextHeight(cText)
TPageScript:GetTextHeight(cText)

Returns

A numeric value.

Description

Call PSGetTextHeight() to retrieve the height of the passed character string. PageScript 32 uses the current font, font size and font style to calculate the height of the text. The value is returned in the currently selected unit of measurement.

Arguments

cText String of the text to calculate the height.