Aspose CAD converting to PDF with mirrored components


#1

I am using the Aspose CAD .net 19.7.0 to convert DWGs to PDFs and for every drawing that has arrows in it on a electrical drawing, the converted PDF comes out with those arrows mirrored, below is the code and attached are a sample DWG with the resulting PDF:

                using (Image image = Image.Load(path))
                {
                    var rasterizationOptions = new Aspose.CAD.ImageOptions.CadRasterizationOptions()
                    {
                        PageSize = new SizeF(1600, 1600),
                        BackgroundColor = Color.White
                    };
                    try
                    {
                        image.Save(
                            path + ".pdf",
                            new Aspose.CAD.ImageOptions.PdfOptions()
                            {
                                VectorRasterizationOptions = rasterizationOptions
                            },new Rectangle());
                    }
                    catch (Exception e)
                    {
                        LicStream.Close();

                        Console.WriteLine("Exception: " + e.ToString());

                        return false;
                    }
                    finally
                    {
                        LicStream.Close();
                    }

files.zip (26.5 KB)


#2

@ralemos,

I have worked with the file shared by you and have been able to observe the issue specified. An issue with ID CADNET-844 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.