Free Support Forum -

Overlap data in pdf generated from dxf drawing


On converting the dxf file to Pdf using aspose.cad i am getting overlap data for few drawing.

Sharing the actual dxf file screen shot & the one generated by aspose.cad.

The code being used is shared below (simplified for sharing):
using (Aspose.CAD.Image image = Aspose.CAD.Image.Load(drawingPath))
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions
// Set page width & height
PageWidth = 1500,
PageHeight = 1500,
AutomaticLayoutsScaling = true,
NoScaling = false
if (dwg.LayersName != null)
rasterizationOptions.Layers = dwg.LayersName.ToArray();// layers to turn on in dxf files.
PdfOptions pdfOptions = new PdfOptions { VectorRasterizationOptions = rasterizationOptions };
image.Save(“response.pdf”, pdfOptions);

Package used : Aspose.CAD 19.2.0 ( also tried with latest 20.6.0 with same result.)

sample screenshot Overlap.GIF (57.2 KB)


The issue seems evident in shared snapshot. However, in order to proceed further with investigation, please provide the source DXF and generated PDF reproducing the issue.