Products


 
Latest News


 
Newsletters







EnglishGermanRussian
HomeSite mapE-mail

DXF Export VCL E-mail
Version6.1
Compatible withDelphi / C++ Builder
DownloadDemo with help (1.62 Mb)
Technical support
License questions
OrderDeveloper or Site License

Developer library for creating proper AutoCAD DXF files easily.

Supported elements:

  • Arc
  • Bezier
  • Circle
  • Ellipse
  • Hatch
  • Line
  • MText
  • Point
  • Polyline
  • Rectangle
  • Text

DXF Export VCL supports layers, colors, linestyles and other important properties. DXF Export VCL allows programmers to create DXF files as easy as possible.

There are two ways of creating DXF files:

  • Direct DXF export when all the elements are created step-by-step employing functions like AddLine/AddArc and so on;
  • AutoDXF export using Windows Metafile. All you need here is to draw an image using Windows GDI functions onto DXF Exporter's DC or make a metafile and pass it to the DXF Export VCL. DXF Exporter reads the Windows Metafile structure and makes a DXF file automatically.

Code example:

procedure TForm1.btnPaintToClick(Sender: TObject);
var
 E: TsgDXFExport;
begin
 if not SaveDialog.Execute then Exit;
 E := TsgDXFExport.Create;
 try
  PaintTo(E.Canvas, 0, 0);
  E.EndDraw;
  E.SaveToFile(SaveDialog.FileName);
 finally
   E.Free;
 end;
end;


Form1 is exported to the DXF file named SaveDialog.FileName.

 
 ©2001-2008 Soft Gold Ltd. All rights reserved.