We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DiagramWebControl (de)serialization

How to deserialize a diagram from a DiagriamWebControl ?
How to load a serialized diagram in a DiagramWebcontrol ?

3 Replies

DM Dinesh M Syncfusion Team February 4, 2010 02:27 PM UTC

Hi Rx,

You can serialize and deserialize the DiagramWebControl by using the following methods respectively.

DiagramWebControl1.LoadBinaryStream(strmIn);
DiagramWebControl1.SaveBinaryStream(strmOut);

Regards,
Dinesh


PU PublicRx February 4, 2010 03:10 PM UTC

Thank you for your answer. Is the binary format the only format supported for (de)serialize a diagram in a webcontrol ?

Thx in advance
Rx


DM Dinesh M Syncfusion Team February 5, 2010 12:47 PM UTC

Hi Rx,

Currently we have only binary serialization support for DiagramWebControl.

Regards,
Dinesh

Loader.
Live Chat Icon For mobile
Up arrow icon