Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Link Text Color (Read 1838 times)
donalmeida
Junior Member
**
Offline


Yay...

Posts: 65
Joined: Oct 6th, 2009
Link Text Color
Nov 9th, 2009 at 9:19pm
Print Post  
How do we change the color of the link Text?
I am using this code:
DiagramLink link = new DiagramLink(diagram, fromNode, toNode)
{
Pen = new Pen(Brushes.Black),
Style = LinkStyle.Bezier,
Text = route.Description,
Dynamic = true,
};

We would like the text color to be set to some predefined color apart from black. (Actually we accept this color from the user in another preference dialog and I would like to set that color on the Link Text)
Thanks Don
  

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Link Text Color
Reply #1 - Nov 10th, 2009 at 6:58am
Print Post  
On the private messages page you can find a version that adds DiagramLink.TextBrush property.

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