TypeLib Xojo support Plugin |
|
RawBitmapConverter.FromPicture Method
Converts desktop mode Xojo Picture object instance to RawBitmap instance.
shared FromPicture(
image
as Picture)
as RawBitmap
Parameters
- image
- The picture to be converted.
Returns
- RawBitmap
- The converted picture as RawBitmap.
Remarks
The function will return nil if there was error. Nil is returned if you pass for example Image set to it.
myRawBitmap = RawBitmapConverter.FromPicture(myPicture)
if myRawBitmap = nil then
// We had some error, most likely we passed image set to the converter.
end if
See Also
RawBitmapConverter Class