How to export as image?

Jun 27, 2013 at 6:09 AM
Hi guys.
I am using EPPlus to build quite complicated reports. ANd it is great for doing so.
But I have another feature that I have to implement. I need to implement creation of .docx document from the report mentioned above. So, for example I need to be able to pivot table from Excel file to .docx.
Is it possible to do so using EPPlus? I don't need "smart" export, stupid conversion to image is enough for me. So is there something like
            var path = @"C:\Users\Administrator\Desktop\TEST.xlsx";
            using (var pkg = new ExcelPackage(new FileInfo(path)))
                var ws = pkg.Workbook.Worksheets.First();
                var pivotTableImage = ws.PivotTables[0].ToImage();