CreateImage

Category: Images and Rendering

Back to System Functions


Signature

CreateImage(width As Integer, height As Integer)

Returns

Integer

Description

Creates a custom image with the requested pixel dimensions and returns an image handle.

The image size is immutable after creation. A new image starts fully transparent and can be edited with UpdateImagePixels.

Example

Dim imageRef As Integer imageRef = CreateImage(64, 64)