CAD DLL provides an API for displaying and importing AutoCAD® DWG, DXF, Hewlett Packard HPGL/HPGL2, Scalable Vector Graphics (SVG) and Computer Graphics Metafile (CGM) files in your application as well as converting DWG/DXF/HPGL to Windows Bitmap, GIF and JPEG file formats. It also translates Windows metafiles to DXF.
CAD DLL was made on the basis of three previous products: CAD Image DLL, CAD Importer DLL and DXF Exporter DLL.
•The CADDATA structure is a base for all the CAD entities.
•The CADEnum function is used for sequential access to all CAD file entities in their drawing order, similar to linear Windows Metafile structure. All entity data (coordinates etc.) are converted to real drawing values, according to the entity position in CAD structure (inside block, outside block etc.)
•To translate Windows metafile to DXF you only need to draw image using Windows GDI functions onto Windows Metafile DC and give it to CAD DLL. CAD DLL reads Windows Metafile structure and makes DXF file automatically. For the best translation from applications please make metafile in 00.1 mm mode and use the XP_USE01MM flag.
© 2003-2020 CADSoftTools
Go to CAD DLL