Page 1 of 1

Text Outline on Annotation Tool

Posted: Thu Aug 19, 2004 7:58 am
by 9079970
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?

Posted: Thu Aug 19, 2004 9:19 am
by Chris
Hi Simon,
Am I looking in completely the wrong place and being a general pleb?
As a Teecharter, being a general pleb is out of the question :D

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

Posted: Thu Aug 19, 2004 10:46 am
by 9079970
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. :)