cart: empty [ Login ]
logo

CadLib for .NET 8.0 (multi-platform)

Use C# or VB.NET to read, write, display or export AutoCAD™ DWG and DXF files. CadLib is a 100% .NET library.
  • For .NET 8.0 (Windows), please visit this web page.
  • For .NET Framework 4.x, please visit this web page.
  • Blazor is currently not supported.

Explore example projects on GitHub.

open file icon

Read DXF and DWG files

Read AutoCAD™ files and inspect their objects and properties. For more detailed information about what objects are supported see here.
save file icon

Write DWG and DXF files

Create an AutoCAD™ drawing from scratch or modify an existing AutoCAD drawing and save to a DWG or DXF file or stream. Objects can be cloned between drawings and entities can be transformed using a transformation matrix.
pdf icon

Export to PDF

Create PDF's from an AutoCAD™ file. Multiple AutoCAD drawings can be written to a single PDF. Font embedding is supported, and searchable PDF's can be created. Export can be done in color or grey scale. Export using PDF layers is optional.
svg icon

Export to SVG

Export to a (single page) SVG file in paper mode or pixel mode. Output is customizable allowing inserting custom attributes.
xaml icon

Export to XAML

Export to xaml is supported. Output is customizable allowing inserting custom attributes.
documentation icon

Documentation

CadLib provides comprehensive documentation full of example code and sample solutions. Furthermore the installed CadLib software has example applications in the Examples directory. For better integration of the online documentation into Visual Studio you can purchase the Help Command Visual Studio plugin.
info icon

More information

For more detailed information about what objects are supported see here. If you have any questions, feel free to post on the forum or send an e-mail.

AutoCAD is a registered trademark of AutoDesk, Inc.