Sign in Join
FPDoc Onlineexperiment

TextWidth function

In unit Graph

Return width (in pixels) of the given string.

Declaration

pascal
function TextWidth(const TextString: ShortString): Word

Description

TextHeight returns the width (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.