Page 1 of 1

LinePen.Width

Posted: Fri Oct 23, 2015 12:59 am
by 13052810
Hello,

In C#, this statement works fine.

(tChart1.Series[aa] as Steema.TeeChart.Styles.FastLine).LinePen.Width = int.Parse(textBox6.Text);

What is the equivalent statement for VB.Net?

Thanks

Re: LinePen.Width

Posted: Fri Oct 23, 2015 7:29 am
by narcis
Hi tirby,

Try this:

Code: Select all

CType(tChart1.Series(aa),Steema.TeeChart.Styles.FastLine).LinePen.Width = Integer.Parse(textBox6.Text)
You may also be interested in the on-line conversion tools here:

http://www.carlosag.net/tools/codetranslator/
http://converter.telerik.com/
http://www.developerfusion.com/tools/co ... arp-to-vb/
http://codeconverter.sharpdevelop.net/S ... erter.aspx

Re: LinePen.Width

Posted: Fri Oct 23, 2015 3:13 pm
by 13052810
Thank You!