Page 1 of 1

Using HTML in TAnnotation

Posted: Mon Feb 19, 2007 3:08 pm
by 9343260
Hello,

I noticed that it could be possible to use HTML in annotations by simply changing the TextOut() in the TAnnotationTool.DrawText function. It uses the TeeHTML parser and it can be quite useful sometimes.

So I was just wondering why you did not allow this possibility by default. Can it run to some troubles if I change the TextOut() to allow HTML in annotations ?

Posted: Mon Feb 26, 2007 12:22 pm
by Pep
Hi bertrod,

yes, this feature still not been added. I've tested and just modifying the TextOut method would not be sufficient as then it does not calculate a correct annotation width.
I've added this feature on our wish list to be reviewed and included for the next releases.