FlowsheetBaseConnectObjects 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
public void ConnectObjects(
	IGraphicObject gobjfrom,
	IGraphicObject gobjto,
	int fromidx,
	int toidx
)

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.

Implements

IFlowsheetConnectObjects(IGraphicObject, IGraphicObject, Int32, Int32)

See Also