Graphic Delphi

Title: How to know the height/width of a character
AComponentWithACanvas.Canvas.TextWidth('A');
AComponentWithACanvas.Canvas.TextHeight('X');