Form FlowsheetConnect Object 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
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
C#
public void ConnectObject(
ref GraphicObject gObjFrom,
ref GraphicObject gObjTo,
int fidx = -1,
int tidx = -1
)VB
Public Sub ConnectObject (
ByRef gObjFrom As GraphicObject,
ByRef gObjTo As GraphicObject,
Optional fidx As Integer = -1,
Optional tidx As Integer = -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).