public Chart GetCopyOfChart(Chart Original)
{
MemoryStream stream = new MemoryStream();
Original.Serializer.Save(stream);
Chart newChart = new Chart();
newChart.Serializer.Load(stream);
return newChart;
}
Supa Sethasiripong [MSFT]
MSDN Community Support |
Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.