Sign in Join
FPDoc Onlineexperiment

TextHeight function

In unit Graph

Return height (in pixels) of the given string.

Declaration

pascal
function TextHeight(const TextString: ShortString): Word

Description

TextHeight returns the height (in pixels) of the string S in the current font and text-size.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.