CODLinkComponent::SetPosition

BOOL CODLinkComponent::SetPosition(CODComponentPosition* pCompPos)

Restores the position and size of the component to a previously saved state.

Defined in: OdLinkComp.cpp

Return Value

TRUE if component successfully positioned; otherwise FALSE.

Parameters

pCompPos

Pointer to a position object.

Comments

This function queries the link shape object for the IODPoints interface, and if found, it assigns the points in the position object to the link shape object. The function then calls the base class CODSymbolComponent::SetPosition function to do the rest of the work.