Оформил: DeeCo
AComponentWithACanvas.Canvas.TextWidth('A'); AComponentWithACanvas.Canvas.TextHeight('X');