This method loads DIB image data from raw data.
Parameters
None
Return Value
Returns True if successful. Returns False if successful.
Explanation
The LoadImageFromRawData method uses the raw image data set into the RawData property and converts it to DIB image data. This DIB image data is then set into either the Image or the Layer(LayerNumber).Image property depending on the value of the LayerNumber property.
When the raw image data is a multipage image, set the page to be loaded in the LoadPage property.
Executing the LoadImageFromRawData method will set image information in the same properties as executing the GetImageFileTypeFromRawData method.
16 bit BMP and TIFF files:
16 bit BMP and TIFF files can be loaded but the loaded image data
will converted to 32 bit image data. Saving the data will result in
a 32 bit image.
WMF and EMF files:
Wmf and Emf images are converted to raster images after they are
loaded.