At design time I can see how to add an outline to the text in an annotation tool by clicking on Outline under the Text tab - this brings up a Border Editor dialog.
However, I need to add the tool at run-time and cannot see any option (under .Tools.Items(0).asAnnotation.Shape) that will allow me to switch the outline on.
Am I looking in completely the wrong place and being a general pleb?
Text Outline on Annotation Tool
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi Simon,
Try:
As a Teecharter, being a general pleb is out of the questionAm I looking in completely the wrong place and being a general pleb?
Try:
Code: Select all
With TChart1
.Tools.Add tcAnnotate
.Tools.Items(0).asAnnotation.Shape.Font.Outline.Visible = True
.Tools.Items(0).asAnnotation.Shape.Font.Outline.Width = 2
.Tools.Items(0).asAnnotation.Text = "HELLO"
End With
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Plebs rejoice - problem solved! That's where I had been looking for the outline option but it turns out I was running v6.0.0.3 - upgrading to the latest release results in Microsoft IntelliSense (an oxymoron if ever I've seen one!) showing the "Outline" option under "Font".
Thanks for your help.
Thanks for your help.
-----------------------------
www.ppvote.com - interactive voting in PowerPoint
www.ppvote.com - interactive voting in PowerPoint