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

Free Support Forum - aspose.com

Dimension text position wrong, after conversion to PDF

Hello, I’m using AsposeCad 22.2.0 for .NET to convert a DXF to PDF.

My DXF has some dimensions. The horizontal position of the text of the dimensions is set on “Second extension line”, as you can see in the attached DXF.

I use this code to convert from DXF to PDF:

using (CadImage image = (CadImage)Aspose.CAD.Image.Load(msInput))
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
PdfOptions pdfOptions = new PdfOptions();
pdfOptions.VectorRasterizationOptions = rasterizationOptions; image.Save(msOutput, pdfOptions);

My issue is that the PDF file exported with AsposeCad has a wrong horizontal position of the text of the dimensions, different from the one of input DXF.

A zip archive attached to this message, with input DXF, PDF exported with AsposeCad, and an sample with a desired solution: asposeCad_errorPDF.zip (9.7 KB)

Please, let me know when is suposed to be fixed.

Hello, I have logged CADNET-8579 ticket for this feature. It is planned for 22.4 release in April.

The issues you have found earlier (filed as CADNET-8579) have been fixed in this Aspose.CAD for .NET 22.4 update . This message was posted using Bugs notification tool by Oleksii.Gorokhovatskyi