Using HTML in TAnnotation

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
bertrod
Advanced
Posts: 151
Joined: Wed Sep 07, 2005 4:00 am

Using HTML in TAnnotation

Post by bertrod » Mon Feb 19, 2007 3:08 pm

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 ?

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Feb 26, 2007 12:22 pm

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.

Post Reply