Serializes the bitmap object.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub Serialize ( _ stream As Stream _ )
public void Serialize( Stream stream )
Type: System.IO.Stream
Stream which will keep the serialized data.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.
This method closes the specified Stream after serialization.