Exception when Saving/Loading chart with Cursor Tool
Posted: Fri Oct 06, 2006 6:11 pm
The following throws an exception, when the chart has a Cursor Tool:
MemoryStream template = new MemoryStream();
TChart printChart = new TChart();
Chart.Export.Template.Save(template);
template.Position = 0;
printChart.Import.Template.Load(template);
To work around it, I must remove the tool prior to the export.
MemoryStream template = new MemoryStream();
TChart printChart = new TChart();
Chart.Export.Template.Save(template);
template.Position = 0;
printChart.Import.Template.Load(template);
To work around it, I must remove the tool prior to the export.