TypeLib Xojo support Plugin |

# RawBitmap.Clone Method

Clones the RawBitmap and optionally adds alpha channel.

Clone(
addAlphaChannel as Boolean) as RawBitmap

#### Parameters

addAlphaChannel
  If set to true then alpha channel is added to the Result bitmap.

#### Returns

RawBitmap
  Copy of the bitmap that was passed in adding alpha channel if that was requested.

#### Remarks

Makes copy of the raw bitmap preserving bitmap data, resolution and color profile in the copy.
It is not guarantied that RowBytes will remain same. As in if the original had extra unused row bytes then the copy might not have them.

#### See Also

RawBitmap Class