Search
FlowChart.CreateArrow Method
See Also
 



Creates an arrow connecting two boxes.

 Syntax

VB6  Copy Code

Public Function CreateArrow( _
    ByVal pBoxSrc As Box, _
    ByVal pBoxDst As Box _
) As Arrow

C++  Copy Code

public:
Arrow* CreateArrow (
    Box* pBoxSrc,
    Box* pBoxDst
)

 Parameters

pBoxSrc

The origin box of the new arrow.

pBoxDst

The destination box of the new arrow.

 Return Value

A reference to the newly created Arrow.

 Remarks

Creates an arrow connecting pBoxSrc to pBoxDst boxes.

If the argument for origin or destination is set to null (Nothing in Visual Basic), an unconnected arrow is created. Unconnected arrows end points are placed at generic coordinates, which can be changed via the CtrlPtX and CtrlPtY properties.

Properties of any new arrow are initialized to the values of FlowChart's corresponding arrow-defaults properties, such as ArrowColor, ArrowHead and so on. For a complete list of all default properties, check Default Values of Object Properties.

 See Also