←Select platform

GetObjectData Method

Summary

Populates a specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize this object.

Syntax
C#
VB
C++
public virtual void GetObjectData( 
   SerializationInfo info, 
   StreamingContext context 
) 
Public Overridable Sub GetObjectData( _ 
   ByVal info As SerializationInfo, _ 
   ByVal context As StreamingContext _ 
)  
public: 
virtual void GetObjectData(  
   SerializationInfo^ info, 
   StreamingContext context 
)  

Parameters

info
The System.Runtime.Serialization.SerializationInfo to populate with data.

context
The contextual information about the source or destination of the serialization.

Remarks

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.

Example

For an example, refer to SvgDocument Constructor.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly