Skip to main content

AddPolyLine

Description

This method adds polyline as LWPOLYLINE entity.

ParameterTypeDescription
DataTdxfExportDataThe instance of the TdxfExportData type is one of the AddPolyLine procedure parameters. It contains a pointer to array of TexpPoint values in the Points field, number of values in the Points array in the Count field and the flag, which equals nonzero, if polyline is closed in the Flags field.
AIndexIntegerThe AIndex parameter (usually equals zero) is an index of a points list in the Points list of the TdxfExportData type instance. This program construction is applied for compatibility support with hatch entity.

Syntax

procedure AddPolyLine(const AData: TdxfExportData; AIndex: Integer);