Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Set Styles on a link (Read 1447 times)
donalmeida
Junior Member
**
Offline


Yay...

Posts: 65
Joined: Oct 6th, 2009
Set Styles on a link
Jun 8th, 2010 at 4:53pm
Print Post  
we let the user set styles on a link. apart from Straight or Bezier (LinkStyle.Polyline , LinkStyle.Bezier) we also let the user set Dashed, Dots or Dashed Dots, Solid etc.. How do I set these preferences on the link? what property should I use?
  

Don Almeida.
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Set Styles on a link
Reply #1 - Jun 8th, 2010 at 5:20pm
Print Post  
Use the StrokeDashArray property, e.g. try this for a dashed line:

link.StrokeDashArray = new DoubleCollection { 5, 5 };

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint