Annotation tool auto size

TeeChart for ActiveX, COM and ASP
Post Reply
corwl
Newbie
Newbie
Posts: 9
Joined: Thu Aug 09, 2007 12:00 am
Contact:

Annotation tool auto size

Post by corwl » Fri Aug 29, 2014 6:19 am

I have long string without line break(\n) which should be displayed in tchart with annotation tool but,
Annotation tool does not add line break automatically, when it meet the right end of annotation position.
Can you help How can I make automatically display the string , or, How can I know the string meet the right end.

Best regards,
Inbum Lee.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Annotation tool auto size

Post by Yeray » Fri Aug 29, 2014 10:54 am

Hello,

I'm afraid the Annotation Tool doesn't add line breaks in the string for you.
But you shouldn't find too much problems to find a code to add the line breaks for you, knowing the maximum width and the string. Ie:
http://www.vb-helper.com/howto_break_code.html
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply