I cannot export my PivotTable as a GIF

D

Douglas Osborne

All,

When I run the following code in Javascript to convert a Pivot Table to an
image, I get a 'The user canceled the operation' as an error message with
the error simply being 'Error'.

var imgName = "c:\\advantage\\tmpimages\\test2.jpg";
frm1.PivotTable1.ExportPicture( imgName, "jpg", 650, 500 );

The following works fine from exporting a Chart Space to an image

var imgName = "c:\\advantage\\tmpimages\\test.jpg";
frm1.ChartSpace1.ExportPicture( imgName, "jpg", 650, 500 );

Any idea why the Pivot Table gives up the ghost?

Best,
Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top