Group: Forum Members
Last Active: 11 Years Ago
Posts: 20,
Visits: 1
|
Hi,
Is there a way to save a chart to a stream or file?
Thanks,
IM
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Ignacio, Yes you can save the control to a file or stream - the following code snippets show how to achieve this: nChartControl1.Serializer.SaveControlStateToFile( "C:\\SOMEFILE.TMP", Serialization.PersistencyFormat.Binary, null);MemoryStream stream = new MemoryStream(); nChartControl1.Serializer.SaveControlStateToStream(stream, Serialization.PersistencyFormat.Binary, null);You can also take a look at All Examples\Serialization as well as in the documentation: http://helpdotnetvision.nevron.com/UsersGuide_Serialization_Serializing_the_Control_State.html That describes the serialization support in detail. Let us know if you have any questions.
Best Regards, Nevron Support Team
|