Profile Picture

ImageExport top one pixel missing

Posted By Matthias Laessig 13 Years Ago
Author
Message
Matthias Laessig
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 6, Visits: 1
Hi,

I'm trying to export a chart to PNG and it seems that the top line (one pixel) is missing. I'm using the following code:
ChartControl.ImageExporter.SaveToFile(@"C:\Temp\chart.png", new NSize(3000, 2000), new NResolution(300, 300), NImageFormat.CreateImageFormat("image/png"));

I've attached a screenshot and a crop of the exported image...

Hope anyone has a solution for this.

Attachments
desktop.png (53 views, 6.00 KB)
export.png (45 views, 9.00 KB)



Similar Topics


Reading This Topic