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)