CODLinkComponent::GetPosition

CODComponentPosition*CODLinkComponent::GetPosition(void)

Returns the current position and size of the component as an object.

Defined in: OdLinkComp.cpp

Return Value

Pointer to a new position object, or NULL if the function fails.

Comments

This function calls the base class function CODSymbolComponent::GetPosition function to create the position object. It then queries the link shape object for the  IODPoints interface, and if found, it loads the points belonging to the link shape into the position object before returning it to the caller.