Populates a specified SerializationInfo with the data needed to serialize this object.
Public Overridable Sub GetObjectData( _
ByVal info As SerializationInfo, _
ByVal context As StreamingContext _
)
info
The SerializationInfo to populate with data.
context
The contextual information about the source or destination of the serialization.
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.
This method will use the value of RasterDefaults.CompressOnSerialize to determine whether to use compression when serializing the RasterImage object.
For an example, refer to /#ctor.
Products |
Support |
Feedback: GetObjectData Method (RasterImage) - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.