Search
FlowChart.FindCycle Method
See Also
 



Finds a cycle in the current diagram.

 Syntax

VB6  Copy Code

Public Function FindCycle () As IArrows

C++  Copy Code

public:
IArrows* FindCycle ()

 Return Value

A collection of Arrow objects forming a cycle.

 Remarks

Finds a single cycle in the flowchart document. If no cycles are found null (Nothing in Visual Basic) is returned. Cycles are represented as a collection of arrows, just as paths are. Traversing a cycle through its arrows and the object connected to them will lead to the object where traversing started. The intermediate objects can be found through the arrows' Origin and Destination properties.

 See Also