Incorrect color and orientation of text when converting dxf to pdf

I want convert a dxf file into pdf format. However the result pdf did not show the correct font color and text rotation. The dxf and pdf files are attached


The code is as follows:

// convert to PDF
string fileStem = Path.GetFileNameWithoutExtension(outputCADModel);
License license = new License();
license.SetLicense(“Aspose.Total.lic”);
using (Aspose.CAD.Image image = Aspose.CAD.Image.Load(outputCADModel))
{
// Create an instance of CadRasterizationOptions and set its various properties
Aspose.CAD.ImageOptions.CadRasterizationOptions rasterizationOptions = new Aspose.CAD.ImageOptions.CadRasterizationOptions();
rasterizationOptions.PageWidth = 1600;
rasterizationOptions.PageHeight = 1600;
rasterizationOptions.BorderX = 10;
rasterizationOptions.BorderY = 10;
rasterizationOptions.CenterDrawing = true;
rasterizationOptions.ScaleMethod = ScaleType.GrowToFit;
rasterizationOptions.DrawType = CadDrawTypeMode.UseDrawColor;
rasterizationOptions.TypeOfEntities = Aspose.CAD.ImageOptions.TypeOfEntities.Entities2D;
// Add desired layers
rasterizationOptions.Layouts = new string[] { “Model” };

// Create an instance of PdfOptions
Aspose.CAD.ImageOptions.PdfOptions pdfOptions = new Aspose.CAD.ImageOptions.PdfOptions();
// Set the VectorRasterizationOptions property
pdfOptions.VectorRasterizationOptions = rasterizationOptions;
// Export the DXF to PDF
image.Save(fileStem+".pdf", pdfOptions);
}
Hi Yong,

Thank you for your inquiry and sample.

This is to update you that we have investigated the issue at our end. Initial investigation shows that the issue persists. The issue has been logged into our system with ID CADNET-175. Our product team will further look into it. We will update you with the progress via this forum thread.

Any updates?

Hi Yong,

Thank you for your inquiry.

We have requested our product team for an update on this issue. We will update you via this forum thread as soon we have any update.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.