API Reference > Namespaces > OdPdfPublish Namespace > Classes > Od2dGeometryBlock Class > Od2dGeometryBlock Methods > addLine Method > Od2dGeometryBlock::addLine Method (OdUInt32, OdGePoint2d*)
Od2dGeometryBlock::addLine Method (OdUInt32, OdGePoint2d*)
Syntax
C++
void addLine(OdUInt32 nPoints, const OdGePoint2d* pPoints);
Parameters 
Description 
OdUInt32 nPoints 
[in] A quantity of points in the array.  
const OdGePoint2d* pPoints 
[in] A pointer to the point array. 

Adds a new line to the geometry object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.