[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Graph' (#rtl)

TextHeight

Return height (in pixels) of the given string

Declaration

Source position: graphh.inc line 780

function TextHeight(

  const TextString: String

):Word;

Description

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

Errors

None.

See also

TextWidth

  

Return width (in pixels) of the given string

The latest version of this document can be found at lazarus-ccr.sourceforge.net.