CODController::ExecuteMovePortCommand

CODMovePortCommand*CODController::ExecuteMovePortCommand(CODPortComponent*pPort, intnOffsetX, intnOffsetY, CODPortComponent*pPortConnect= NULL)

Creates and executes a move port command.

Defined in: OdController.cpp

Return Value

void

Parameters

pPort

The port component to move.

nOffsetX

Number of logical units to move along X axis.

nOffsetY

Number of logical units to move along Y axis.

Comments

This function is used to move the endpoints of link components. Each endpoint of a link component contains a port component so that connections can be established.

pPortConnect

Optional port to connect moving port to.