LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

GetObjectData Method (RasterImage)






The System.Runtime.Serialization.SerializationInfo to populate with data.
The contextual information about the source or destination of the serialization.
Populates a specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize this object. .NET support
Syntax
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 RasterImage
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
public virtual void GetObjectData( 
   SerializationInfo info,
   StreamingContext context
)
 function Leadtools.RasterImage.GetObjectData( 
   info ,
   context 
)
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 ISerializable.GetObjectData.

The RasterImage class supports standard .NET serialization. Serialization a RasterImage is the process of converting the state of an RasterImage object into a form that can be persisted or transported. The complement of serialization is deserialization, which converts a stream into an RasterImage object. Together, these processes allow the image data to be easily stored and transferred.

When you serialize an RasterImage object, all the data inside the object are saved. This include the image data of all pages as well as the current page number, region information, low bit/high bit, palette data, metadata (tags, markers and comments), etc. In other words, the RasterImage can be constructed back to its original state from the stream.

For more information and examples regarding serialization of an RasterImage object, refer to RasterImage Serialization.

Example
For an example, refer to RasterImage Constructor(SerializationInfo,StreamingContext).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.