CODLineComponent::Create

Creates the line component.

Defined in: OdLineComp.cpp

Syntax

BOOL CODLineComponent::Create(CODPointArray* pPointArray);

BOOL CODLineComponent::Create(LPPOINT lpPoints, int nCount);

Return Value

TRUE if the component is sucessfully created.

Parameters

pPointArray

The array of points to use as vertices for the line.

lpPoints

An array of points to use as vertices for the line.

nCount

Count of points in the array.