API Reference > Namespaces > OdPdfPublish Namespace > Classes > Od2dGeometryBlock Class > Od2dGeometryBlock Methods > addLine Method > Od2dGeometryBlock::addLine Method (OdGePoint2dArray&)
Od2dGeometryBlock::addLine Method (OdGePoint2dArray&)
Syntax
C++
void addLine(const OdGePoint2dArray& points);
Parameters 
Description 
const OdGePoint2dArray& points 
[in] An array of OdGePoint objects that determine the line. 

Adds a new line to the geometry object.

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