TCanvas.TextWidth function
Gets the width for the specified text using the canvas Font.
Declaration
function TextWidth(const Text: string): Integer; virtual; reintroduceArguments
Text | Text measured in the method. |
Function result
Width for the specified text (in pixels).
Description
Calls TextExtent to get the TSize instance with the
return value for the method.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
