Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

xplot line color from string

Hello friends
 
please help me
how I can convert color from string to xplot.linecolor ?
for example
first I write to xml file color :

Write.WriteElementString(

"line_color", Form1.xplot.LineColor.Name)

next I read from xml file color "lime"  as string and I can't convert it to Form1.xplot.LineColor
 
 
 
thanks
Boguslaw
 
 


Message Edited by mototest on 04-12-2008 02:11 PM
0 Kudos
Message 1 of 2
(3,369 Views)
OK I have solved problem :
 

xplot.LineColor = Color.FromName(name from string

)

thanks

0 Kudos
Message 2 of 2
(3,361 Views)