Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Issue in Link (Read 1424 times)
dinesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Mar 5th, 2008
Issue in Link
Mar 13th, 2008 at 6:31am
Print Post  
Hi Stoyo!


In older version the following code appeared.

Code
Select All
Arrow a = fc.CreateArrow(bp, bc);
a.TextStyle = EArrowTextStyle.atsRotate;
 



I have changed Arrow to DiagramLink like below

Code
Select All
DiagramLink a = fc.Factory.CreateDiagramLink(bp, bc);
 


but i dont know how to change textStyle..
Help me Out




Note: I dont know how to insert Image Using tag in this forum. tell me Whether it will work
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Issue in Link
Reply #1 - Mar 13th, 2008 at 8:59am
Print Post  
Hi,

Set link.TextStyle = LinkTextStyle.Rotate.

You cannot upload images here. You might upload them on your site or on flickr, and link to them using the tags.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
dinesh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Mar 5th, 2008
Re: Issue in Link
Reply #2 - Mar 13th, 2008 at 9:45am
Print Post  
In My Project I'm using Radial Tree.

My requirement is to delete all the link with blue color.
For that i'm using Following code. But it's not working
Code
Select All
foreach(DiagramLink ao in fc.Links)
{
if (ao.Pen.Equals(Color.Blue))
{
ao.Visible = false;
}
}

 


is der any other way to do ..
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Issue in Link
Reply #3 - Mar 13th, 2008 at 10:51am
Print Post  
You should use Pen.Color.Equals(Color) to compare Color instances.

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