Hi Elie,
You can make use of the pinpoint changing event to do this, Here is the sample code for your reference,
private void MainForm_Load(object sender, EventArgs e)
{
((DocumentEventSink)model1.EventSink).PinPointChanging += new PinPointChangingEventHandler(MainForm_PinPointChanging);
}
void MainForm_PinPointChanging(PinPointChangingEventArgs evtArgs)
{
Console.WriteLine(evtArgs.NodeAffected.ToString());
if (evtArgs.NodeAffected is PolylineNode)
{
PolylineNode node = evtArgs.NodeAffected as PolylineNode;
MessageBox.Show("PinpointChanging event is fired" + "" + "Node name: " + evtArgs.NodeAffected.Name.ToString());
foreach (System.Drawing.PointF p in node.GetPoints())
{
Console.WriteLine("("+p.X.ToString()+"," + p.Y.ToString()+")");
}
}
}
and here is the sample for your reference,
http://websamples.syncfusion.com/samples/Diagram.Windows/F67648/main.htmKinldy take a look and let me if you need any further assistance.
Regards,
Ajish.