BitmapDataFactoryLoad Method
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.2.0
public static IReadWriteBitmapData Load(
Stream stream
)
Public Shared Function Load (
stream As Stream
) As IReadWriteBitmapData
public:
static IReadWriteBitmapData^ Load(
Stream^ stream
)
static member Load :
stream : Stream -> IReadWriteBitmapData
- stream Stream
- The stream to load the bitmap data from.
IReadWriteBitmapDataA managed
IReadWriteBitmapData instance loaded from the specified
stream.
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.