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 or nil if there was error.
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
end if
This function can throw OutOfMemoryException
See Also
RawBitmapConverter Class