Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic diagram link (Read 1436 times)
hadni
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: Jan 18th, 2011
diagram link
Jan 18th, 2011 at 9:26am
Print Post  
Hi, I have a problem with diagram link.. I want to delete the diagram link programmatically..

So I am using Zindex to identify which link I want to delete.. but I don't know how to do that..
Is anyone know how to delete that?
Thank you..
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: diagram link
Reply #1 - Jan 18th, 2011 at 9:49am
Print Post  
Hi,

You can call diagram.Links.Remove(link) to delete a link. If you know only the z index value, you can set the following before deleting:

link = (DiagramLink)diagram.Items[zIndex];

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


I love YaBB 1G - SP1!

Posts: 10
Joined: Jan 18th, 2011
Re: diagram link
Reply #2 - Jan 19th, 2011 at 5:25am
Print Post  
it works!!!  Grin  thank you so much..
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint