BitmapDataFactoryLoad Method

KGy SOFT Drawing Libraries Help
Loads a managed IReadWriteBitmapData instance from the specified stream that was saved by the BitmapDataExtensions.Save method.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 6.2.0
Syntax

public static IReadWriteBitmapData Load(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The stream to load the bitmap data from.

Return Value

Type: IReadWriteBitmapData
A managed IReadWriteBitmapData instance loaded from the specified stream.
Remarks

Note Note
This method blocks the caller, and does not support cancellation or reporting progress. Use the BeginLoad or LoadAsync (in .NET Framework 4.0 and above) methods for asynchronous call and to set up cancellation or for reporting progress.
See Also

Reference