TsgDXFExport.AddRectangle

TsgDXFExport                        

  Classes Reference > Writing to file > TsgDXFExport > TsgDXFExport Methods >

TsgDXFExport.AddRectangle

TsgDXFExport                        

Previous pageReturn to chapter overviewNext page

Adds the RECTANGLE entity.

procedure AddRectangle(const Data: TdxfExportData);

Description

The instance of the TdxfExportData type is a parameter of the AddRectangle procedure. The coordinates of the bottom left and the top right corner points are passed in by two fields of the TdxfExportData type instance called Point and Point1 accordingly.

AddRectangle procedure adds a rectangle as LWPOLYLINE entity with 4 points.

 

 

Go to CAD VCL Enterprise