Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCanvas.DoGetTextSize

Calls TextExtent to find the width and height of the specified text.

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.