Export will not resize
Posted: Tue Apr 20, 2010 6:54 pm
When exporting a chart using chart.Export.asPNG.SaveToStream() the result will always have the same size, even after a chart resize.
Procedure:
1. Create a chart
2. Export using Export.asPNG.SaveToStream(). The resulting image will be the same size as the chart.
3. Resize the chart (or the for that contains it)
4. Export again using Export.asPNG.SaveToStream(). The resulting image will be the same size as the first time, and not the new size.
This bug does not occur when using chart.Export.CopyToClipboardBitmap().
Any suggestions?
Procedure:
1. Create a chart
2. Export using Export.asPNG.SaveToStream(). The resulting image will be the same size as the chart.
3. Resize the chart (or the for that contains it)
4. Export again using Export.asPNG.SaveToStream(). The resulting image will be the same size as the first time, and not the new size.
This bug does not occur when using chart.Export.CopyToClipboardBitmap().
Any suggestions?