Page 1 of 1

Write a special character in an annotation

Posted: Wed Oct 04, 2006 3:56 pm
by 9343260
Hello,

I have a difficult question : I would need to write greek symbols for some mathematic equations or units in an annotation. For exemple, I need to write the greek letter mu to show 'microvolt' units.

I think it is not possible now, but I would like to try to customize the TAnnotationTool to use a TNTWare component in it, in order to write such specific symbols.

What do you think ? Would there be another way to do it in your opinion ?

Posted: Fri Oct 06, 2006 4:46 pm
by Pep
Hi bertrod,

I think the example included into the Demo features project under :
All Features -> Canvas -> 3D Canvas -> RichText Drawing
could help you.
RichText controls (RTF) can be used with Chart.Canvas to draw text with extended formatting.

Posted: Wed Oct 11, 2006 7:28 am
by 9343260
Hi,

I looked at the example and it seems quite interesting. However, I would like to keep the features of an annotation : changing the border, the background and moving it very easily with the SelectorTool.

Do you think it would be possible to use a RichText component within the TAnnotationTool ?

Posted: Wed Oct 11, 2006 10:29 am
by Pep
Hi bertrod,
Do you think it would be possible to use a RichText component within the TAnnotationTool ?
I'm afraid there's not other way.