Picture.Constructor(width as Integer, height as Integer, bitmaps() As Picture)
From Xojo Documentation
Constructor
Creates an Image from one or more Bitmap pictures.
Exceptions
Exception | Reason |
---|---|
InvalidArgumentException | Raised if:
|
NilObjectException | Raised if:
|
OutOfMemoryException | Raised if there is not enough memory to create the picture, which can happen with 32-bit apps. |
Notes
The height and width are in points. The bitmaps are copied upon creation. All bitmaps must have the same aspect ratio. A bitmap's DPI will be calculated from the point size and the bitmap's size in pixels. Pictures created using this constructor have their Type set to Types.Image.