We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can I convert a curtain extent in a dwg to raster?

I want to display a dwg file in a web map page, so I want to convert a dwg to raster within a curtain extent rather than the full extent.

My maps’s current extent is {xMin: -18447, yMin: -5665, xMax: -15919, yMax: -3683} and size is 1200x800, so I want to convert the dwg file within this extent to a 1200x800 png file.

Can Aspose.CAD do this job?


I have observed your requirements and have not been able to completely undrestand them. Can you please share the source DWG file along with used sample code and desired output PNG file. We will investigate the issue further on our end to help you out. Moreover, at present Aspose.CAD support exporting a layer or layers to raster image formats and not partial portion among DWG layers.