CODLinkComponent::MovePort

BOOL CODLinkComponent::MovePort(CODPortComponent* pPort, const int nOffsetX, const int nOffsetY)

Moves a port attached to the symbol.

Defined in: OdLinkComp.cpp

Return Value

TRUE if successful, otherwise FALSE.

Parameters

pPort

Port to be moved.

nOffsetX

X offset in logical units.

nOffsetY

Y offset in logical units.

Comments

This function is overridden to ensure that the endpoints of the line contained by the link move along with the port.