Nevron Forum

3d EMF export

https://www.nevron.com/Forum/Topic4590.aspx

By Nick Howard - Tuesday, November 30, 2010

Hello,

I'm trying to create a 3d chart and export it to EMF. When I do it seems to get flattened. Is it possible to create a 3d emf?

Thanks,
Nick
By Nevron Support - Thursday, December 2, 2010

Hi Nick,

The control can only export emf files for 2D charts - this is because we use OpenGL for the 3D charts which is raster based. You can use the build in image exporter to export bitmaps which can then be embedded in EMF:

using (Bitmap bmp = new Bitmap(200, 200, PixelFormat.Format32bppArgb))
{
  nChartControl1.ImageExporter.RenderToBitmap(bmp,
false);
 
// do something with bitmap
}