delphitextout

How can I change the height of textOut of TCanvas?


I am drawing text on TCanvas using TextOut() but I want bigger fonts.

What can I do?


Solution

  • try this one

    Canvas.Font.Size := <set your size>;
    Canvas.TextOut(0,0,'Sample Text');