Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Svg Assembly > Leadtools.Svg Namespace > SvgDocument Class : GetObjectData Method |
public virtual void GetObjectData( SerializationInfo info, StreamingContext context )
'Declaration
Public Overridable Sub GetObjectData( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ )
'Usage
Dim instance As SvgDocument Dim info As SerializationInfo Dim context As StreamingContext instance.GetObjectData(info, context)
public: virtual void GetObjectData( SerializationInfo^ info, StreamingContext context )
This method implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
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.
For an example, refer to SvgDocument Constructor.