DWF Drawings
Contents
[
Hide
]
Exporting DWF Drawings to PDF
Aspose.CAD provides the feature to load AutoCAD DWF drawing entities and render them as an entire drawing to PDF format. DWF to PDF conversion approach works as follows:
- Load DWF drawing file using the Image.load factory method.
- Create an object of the CadRasterizationOptions class and set the page_height & page_width properties.
- Create an object of the PdfOptions class and set the vector_rasterization_options property.
- Call Image.save while passing an object of PdfOptions as the second parameter.
Sample Code
The code sample below shows how to convert a file using default settings.
Exporting DWF Drawings to BMP
Aspose.CAD provides the feature to load AutoCAD DWF drawing entities and render them as an entire drawing to BMP format. DWF to BMP conversion approach works as follows:
- Load DWF drawing file using the Image.load factory method.
- Create an object of the CadRasterizationOptionsclass and set the page_height & page_width properties.
- Create an object of the BmpOptions class and set the vector_rasterization_options property.
- Call Image.save while passing an object of BmpOptions as the second parameter.
Sample Code
The code sample below shows how to convert a DWF file to BMP using default settings.