c# Cell.Dependents [closed]

Started by ziorg, January 23, 2023, 08:58:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ziorg

Hi,
I'm facing problem how to iterate trough the array returned by Cell.Dependents.
Could anyone give me a tip

for (int i = cell.Dependents.GetLowerBound(0); i < cell.Dependents.Length; i++)
  {
  Visio.Cell myCell = cell.Dependents;
  }
Thanks

ziorg

Replying to myself :
for (int Counter = cell.Dependents.GetLowerBound(0) ; Counter< cell.Dependents.Length; Counter++)
     {
       Visio.Cell vsoCell = (Visio.Cell)cell.Dependents.GetValue(Counter);                               
      }