shape connections /C#

  • Thread starter msnews.microsoft.com
  • Start date
M

msnews.microsoft.com

Hi,
I have a shape which is connected to some other shapes.

How can I get access to the connectors that start from this shape and ends
to the other shapes ????

Thank You very much in advance
 
G

genc_ ymeri at hotmail dot com

How can I get access to the connectors that start from this shap [no

I got the answer by myself and I'm posting it thinking that someone else may
need it



Microsoft.Office.Interop.Visio.Connects CCol =
this.passedShape.FromConnects;

foreach(Microsoft.Office.Interop.Visio.Connect aCon in CCol)
{
try
{
if (aCon.FromPart ==
(int)Microsoft.Office.Interop.Visio.tagVisFromParts.visBegin)
MessageBox.Show( aCon.FromCell.Shape.Text );
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}





msnews.microsoft.com said:
Hi,
I have a shape which is connected to some other shapes.

How can I get access to the connectors that start from this shap [no
matter or it ends]????

Thank You very much in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top