Mega Code Archive

 
Categories / Delphi / Examples
 

Know the heightwidth of a character

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