Flowsheet BaseConnect Objects Method
Connects two graphic objects via their connector ports and registers an undo snapshot.
Definition
Namespace: DWSIM.FlowsheetBase
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
C#
public void ConnectObjects(
IGraphicObject gobjfrom,
IGraphicObject gobjto,
int fromidx,
int toidx
)VB
Public Sub ConnectObjects (
gobjfrom As IGraphicObject,
gobjto As IGraphicObject,
fromidx As Integer,
toidx As Integer
)Parameters
- gobjfrom IGraphicObject
- The source graphic object.
- gobjto IGraphicObject
- The target graphic object.
- fromidx Int32
- The output connector index on the source object.
- toidx Int32
- The input connector index on the target object.