Method LoadFromStream
LoadFromStream(Stream)
Loads image from stream.
bool LoadFromStream(Stream stream)
Parameters
streamStreamStream with image data.
Returns
LoadFromStream(Stream, BitmapType)
Loads an image from an input stream.
bool LoadFromStream(Stream stream, BitmapType type)
Parameters
streamStreamThe Stream from where the image will be loaded.
typeBitmapTypeOne of the BitmapType values
Returns
- bool
trueif the operation succeeded,falseotherwise.
Remarks
Note: Not all values of BitmapType enumeration may be supported by the library and operating system for the load operation.