| ImageGear for .NET User Guide > ImageGear Imaging Formats Reference > ImageGear Supported File Formats Reference > DWG |
| Full Name | DWG (AutoDesk AutoCAD) |
| Format ID | ImGearFormats.DWG |
| File Extension(s) | *.dwg |
| Data Type | Vector/CAD image |
| Data Encoding | Binary |
| IG Multipage Support | No |
| IG Alpha Channel Support | No |
| IG Metadata Update Support | No |
| IG Platforms Support | Win32, Win64, .NET, .NET64 |
![]() |
DWG format requires ImageGear.Vector Namespace. |
ImGearCompressions.NONE - Vector/CAD data
ImGearCompressions.NONE - Vector/CAD data
![]() |
Please see ImageGear Supported Vector Format Features > DWG and DXF for more information. |
| Filter Control Parameter | Type | Default Value | Available Values | Description |
| BackColor | Long | 0 | Any positive value | This parameter is used to set background color. If nBackGroundColor=0, then a black background color is set, otherwise a white background color is set. |
| Width | Long | 512 | Any positive value | Defines the DIB width of the loaded image. The DIB height is calculated using the file's scale factors. |
| FontPath | String | "" | Any string up to 262 characters | Defines a path to the vector font files. Format - <Path1>;< Path2>;... . |
| Password | String | "" | Any string up to 262 characters | Used to set password for encrypted files before reading. |
| Version | String | ACAD2004 |
|
Used to specify version to save the file as. |
| ShowHidden | Boolean | False | True, False | If true, hidden layers are shown by default. |
DWG, short for "DraWinG", is a CAD file format which serves as the native file format for drawings created in AutoCAD.