This constructor is required by System.Runtime.Serialization.ISerializable
info
The data needed to serialize or deserialize an object.
context
The source and destination of a given serialized stream.
The SvgDocument class supports standard .NET serialization. Serialization of a SvgDocument is the process of converting the state of a Leadtools.RasterImage object into a form that can be persisted or transported. The complement of serialization is deserialization, which converts a stream into an Leadtools.RasterImage object. Together, these processes allow the image data to be easily stored and transferred.
When you serialize a SvgDocument object, all the data inside the object is saved. The SvgDocument can be reconstructed back to its original state from the stream.
This example will show how to serialize and deserialize a SVG document.