text size of TPaveText

Ulrich Jost (jost@evalo1.ific.uv.es)
Thu, 27 May 1999 18:56:18 +0200 (CET)


Hi,

I have
annotation = new TPaveText(0, 0, 1, 1, "brNDC");
and don't know beforehand the number of lines. After filling it, I want to
set the maximum possible text size. I tried
annotation->SetTextSize(1/annotation->GetListOfLines()->Capacity());
and then
annotation->Draw("brNDC");
in a canvas defined with size 0,0,450,450 but the characters are too
small, ie there is a lot space left between the lines.

Thanks, Ulrich