LinePen.Width

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
tirby
Newbie
Newbie
Posts: 84
Joined: Mon Mar 16, 2009 12:00 am

LinePen.Width

Post by tirby » Fri Oct 23, 2015 12:59 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: LinePen.Width

Post by Narcís » Fri Oct 23, 2015 7:29 am

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
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

tirby
Newbie
Newbie
Posts: 84
Joined: Mon Mar 16, 2009 12:00 am

Re: LinePen.Width

Post by tirby » Fri Oct 23, 2015 3:13 pm

Thank You!

Post Reply