CODPolygonComponent::Create

Creates the polygon component.

Defined in: OdPolygonComp.cpp

Syntax

BOOL CODPolygonComponent::Create(CODPointArray* pPointArray);

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

Return Value

TRUE if the polygon was sucessfully created.

Parameters

pPointArray

An array of CPoints to use as the vertices of the polygon.

lpPoints

An array of points to use as the vertices of the polygon.

nCount

The count of points in the array.