DWG is a binary file format used by AutoDesk AutoCAD. It can contain 2D or 3D objects and offers compression and a CRC check for internal data.
LEADTOOLS supports DWG 12, 13, 14, 15 (DWG2000), and 18 (DWG2004) files.
This file format supports loading with different units and viewing multi-degree spline.
This file format is not supported in the Imaging Pro toolkits. Read support for this format is provided in the Document and Medical Imaging toolkits.
The default extension used by this format is: DWG.
LEADTOOLS supports loading this format as a raster image, vector image, or SVG (Scalable Vector Graphics) document.
LEAD supports the object types listed above, as well as, layers and the grouping of objects. Embedded raster objects are not supported.
The file constants associated with this file format are:
Constant | Read Support | Write Support | Description |
Dwg | Yes | No | [AutoDesk AutoCAD binary format. |
When DWG files are rasterized, they are 24 BPP.
The following table indicates which objects LEAD can load and which objects it can save:
Object: | Load: | Save: |
Arc | Supported | Not Supported |
Attdef | Supported | Not Supported |
Attrib | Supported | Not Supported |
BoundaryPolydraw | Supported | Not Supported |
Circle | Supported | Not Supported |
Dimension | Supported | Not Supported |
Directional (2D) Extrusion | Supported | Not Supported |
Ellipse | Supported | Not Supported |
Hatch | Supported | Not Supported |
Insert | Supported | Not Supported |
Leader | Supported | Not Supported |
Lines | Supported | Not Supported |
LWPolyline | Supported | Not Supported |
Mline | Supported | Not Supported |
Mtext | Supported | Not Supported |
Point | Supported | Not Supported |
Polygons | Supported | Not Supported |
Polyline | Supported | Not Supported |
PureLine | Supported | Not Supported |
PurePolygon | Supported | Not Supported |
PurePolyline | Supported | Not Supported |
Ray Object | Supported | Not Supported |
Segment | Supported | Not Supported |
Simple Construction Line | Supported | Not Supported |
Solid | Supported | Not Supported |
Spline | Supported | Not Supported |
Text | Supported | Not Supported |
Tolerance | Not Supported | Not Supported |
Vertex | Supported | Not Supported |
Wpolyline | Supported | Not Supported |
3DFace | Supported | Not Supported |
3DSolid | Supported | Not Supported |
Required DLL: Leadtools.Vector.dll and Leadtools.Codecs.Dwg.dll. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Related Formats: CGM - Computer Graphics Metafile, CMX - Corel Presentation Exchange Format, DGN - Intergraph Format, DRW - Micrografx Designer DRaWing, DWF - DWF Format, DXF - Drawing Interchange Format, EMF - Windows Metafile Formats, GBR - Gerber Format, PCL - Printer Command Language Format, PCT - Macintosh Pict Format, PDF - Portable Document Format, PLT - PLT / HPGL Format, PS - PostScript Document Format, RTF - Rich Text Format, SHP - ESRI Shape Format, SVG - Scalable Vector Graphics Format, WPG - WordPerfect Vector Format, WMF - Windows Metafile Formats, WMZ - Compressed Windows Metafile Format, E00 - ArcInfo Interchange File Format, MIF - MapInfo Interchange File Format.
Platforms: .NET 2/3, .NET 4
Products |
Support |
Feedback: File Formats: DWG Format (DWG) |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.