CODLinkComponent::MovePort

BOOLCODLinkComponent::MovePort(CODPortComponent*pPort, const intnOffsetX, const intnOffsetY)

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.