Boolean LoadFromSerializedStream(pStream As Stream)
Parameter | Type | Required | Description |
pStream | Stream | Yes | Pointer to the serialized memory stream. |
1 // Create the first image and draw a red rectangle on it
2 Imaging1.Create(200, 200);
3 Imaging1.DrawRectangleFilled(0, 0, 200, 200, Imaging1.GetColorFromHTML("#ff0000"));
4
5 // Load a copy of the image in Imaging1 to Imaging2
6 Imaging2.LoadFromSerializedStream(Imaging1.Serialize());