Aurigma Graphics Mill 5.5 for .NET
Bitmap..::.Serialize Method
Serializes the bitmap object.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
Visual Basic
Public Sub Serialize ( _ stream As Stream _ )
C#
public void Serialize( Stream stream )
Parameters
- stream
-
Type: System.IO..::.Stream
Stream which will keep the serialized data.
Remarks
To restore the bitmap object from the serialization data, use the Deserialize(Stream) method.
You can enable or disable the compression of the serialization data by using the CompressSerializedData property. It is recommended to use compression only if you transfer the serialization data through the network (or if the size is critical for any other reason). Otherwise it can noticeable reduce the serialization/deserialization process performance.