DWG Drawings

Exporting DWG Format To PNG

Aspose.CAD for Javascript in Angular allows developers to export an DWG file to PNG format. DWG to PNG conversion approach works as follows:

  1. Load DWG drawing file using the Image.load method.
  2. Call Image.save while passing an object of PngOptions as the second parameter.

Sample Code

The code below shows how to achieve the same goal using Aspose.CAD for JavaScript