I want to print a number on form canvas. The number is inside a box.
In a procedure I wrote
Var Rect : TRect;
Rect := ...
canvas.font.height := rect.bottom -rect.top - 5;
textrect(rect.left, rect.top, inttostr(Num));
I found the size of the number was changed with the rect's size, but it's smallest size is about 6,how can I let it smaller?