CODLinkComponent::Create
Creates the link component from a series of points and a source and target port.
Defined in: OdLinkComp.cpp
Syntax
BOOL CODLinkComponent::Create(CODPointArray* pPointArray, CODPortComponent* pSourcePort, CODPortComponent* pTargetPort)BOOL CODLinkComponent::Create(LPPOINT lpPoints, int nCount, CODPortComponent* pSourcePort, CODPortComponent* pTargetPort)
BOOL CODLinkComponent::Create(CODPortComponent* pSourcePort, CODPortComponent* pTargetPort)
Return Value
Non-zero if the link was sucessfully created.
Parameters
pPointArray
The array of points that form the vertices of the link.
lpPoints
The array of points that form the vertices of the link.
nCount
The count of points in the array.
pSourcePort
The port on the source symbol the link is connected to.
pTargetPort
The port on the target symbol the link is connected to.