Save Excel As EMF File (Metafile)

Topics: Developer Forum, User Forum
Feb 22, 2012 at 6:06 PM

I couldn't not find the feature under documentation, but is it possible to save an Excel chart as an EMF file using PHPExcel?

Thanks.

Feb 22, 2012 at 7:20 PM

Sorry for double post. I can also use any image type, excel -> jpeg or something. Thanks.

Coordinator
Feb 24, 2012 at 9:42 AM

PHPExcel doesn't have any writer that will generate an image file directly. Your best bet would be to write as html, and then use a 3rd party library that can convert html to an image.

Feb 27, 2012 at 8:28 PM

Or PDFs are essentially vector images -- you'd also need to convert it -- but is similar to EMF.