CF2 Drawings

Exporting CF2 Format To PNG

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

  1. Load CF2 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