when exporting an image I always get a border around it, how can I remove this?
Stream stream = new MemoryStream();
ImageExportFormat image = chart.Export.Image.PNG;
image.Width = width;
image.Height = height;
image.Save(stream);
Image img = Image.FromStream(stream);
Have Tried
chart.Panel.Bevel.Inner = Steema.TeeChart.Drawing.BevelStyles.None;
chart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
chart.Panel.Pen.Visible = false;
chart.Panel.BorderRound = 0;
but I still get a border round the image
Borders on Image Export from the chart
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ced,
I'm not able to reproduce the issue here using latest TeeChart for .NET v3 maintenance release available at the client area. Which TeeChart version are you using? If you are still not using it, could you please try with latest version? If problem persists could you send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
I'm not able to reproduce the issue here using latest TeeChart for .NET v3 maintenance release available at the client area. Which TeeChart version are you using? If you are still not using it, could you please try with latest version? If problem persists could you send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ced,
Thanks for the example. I've found that line below at UserControl1.designer.cs:
and same at UserControl1.cs:
Cause the problem. Removing them makes the border disappear.
Anyway, I've added this issue to the defect list (TF02013360) to be investigated for next releases.
Thanks for the example. I've found that line below at UserControl1.designer.cs:
Code: Select all
this.chart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
Code: Select all
chart.Panel.Bevel.Outer = Steema.TeeChart.Drawing.BevelStyles.None;
Anyway, I've added this issue to the defect list (TF02013360) to be investigated for next releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Luke,
Yes, I noticed that. That's one of the reasons I added this to be enhanced.
Yes, I noticed that. That's one of the reasons I added this to be enhanced.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |