TypeLib Xojo support Plugin

RawBitmap.Constructor Constructor

Constructs a new RawBitmap with a given width, given height, given number of channels and given rowBytes value.

Constructor(
   width as Integer,
   height as Integer,
   channels as Integer,
   rowBytes as Integer)

Parameters

width
The width for the Bitmap.
height
The height for the Bitmap.
channels
The number of channels. Supported values are 1, 3 and 4.
rowBytes
The number of bytes per row. This value cannot be smaller than width * channels.

Remarks

This constructor can throw OutOfMemoryException

See Also

RawBitmap Class