Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic create a link with two heads (Read 1948 times)
xw9207
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Dec 13th, 2019
create a link with two heads
Dec 13th, 2019 at 8:07am
Print Post  
I want to create a link that each ends have an arrow.
would anyone know which properity supports this?
thanks a lot!
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3440
Joined: Oct 19th, 2005
Re: create a link with two heads
Reply #1 - Dec 13th, 2019 at 9:04am
Print Post  
Hi,

Set DiagramLink's BaseShape and HeadShape properties to one of the ArrowHeads members -

Code
Select All
void diagram_InitializeLink(object sender, LinkEventArgs e)
{
    e.Link.HeadShape = e.Link.BaseShape = ArrowHeads.BowArrow;
} 



Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
xw9207
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Dec 13th, 2019
Re: create a link with two heads
Reply #2 - Dec 15th, 2019 at 1:57am
Print Post  
thanks. it works fine.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint