CODLinkComponent::AssignShape

BOOL CODLinkComponent::AssignShape(IODLinkShape* pILinkShape)

Assign a shape to the link.

Defined in: OdLinkComp.cpp

Return Value

Non-zero if shape successfully assigned; otherwise 0.

Parameters

pILinkShape

Pointer to a link shape interface.

Comments

This function sets the link shape for the link. A link shape is a component that supports the IODLinkShape interface and is usually the first and only child component owned by the link. The link shape is usually a line, but it can be any component that supports the IODLinkShape interface. The purpose of the IODLinkShape interface is decouple the link component from the visual representation.

See Also

IODLinkShape