Hi,
I did convert Excel chart to image and noticed some parts of dotted lines became solid lines.
Sample code:
var options = new ImageOrPrintOptions
{
ImageType = ImageType.Emf,
ChartImageType = ImageFormat.Emf,
OnlyArea = false,
TextRenderingHint = TextRenderingHint.ClearTypeGridFit,
OnePagePerSheet = true,
Transparent = true
};
var workbook = new Workbook(@".\test.xlsx");
workbook.Worksheets[0].Charts[0].ToImage(@".\out2110.emf", options);
I’ve attached my test files and a screenshot for your reference. Could you please help to take a look?
test.zip (84.0 KB)
image.png (93.7 KB)
Thanks,