FormFlowsheetConnectObject Method

Draws a connector line between two graphic objects on the flowsheet surface, optionally specifying the connector slot indices.

Definition

Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
public void ConnectObject(
	ref GraphicObject gObjFrom,
	ref GraphicObject gObjTo,
	int fidx = -1,
	int tidx = -1
)

Parameters

gObjFrom  GraphicObject
The source graphic object.
gObjTo  GraphicObject
The destination graphic object.
fidx  Int32  (Optional)
The zero-based output connector index on gObjFrom (-1 = auto-select).
tidx  Int32  (Optional)
The zero-based input connector index on gObjTo (-1 = auto-select).

See Also