[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TCanvas.DoGetTextSize

DoGetTextSize calls TextExtent to find width and height of specified text string.

Declaration

Source position: graphics.pp line 1014

protected procedure TCanvas.DoGetTextSize(

  Text: string;

  var w: Integer;

  var h: Integer

); override;

See also

TCanvas.TextExtent

  

Calculates the size for the specified Text using the canvas Font.

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