1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-12 08:00:12 +00:00
2 Dom.GetImage
boxgaming edited this page 2023-09-25 13:52:46 -05:00

Returns the html canvas element associated with a QB image.

This would include images created with a QB64 image keyword (i.e. _NewImage, _CopyImage) as well as the main screen image (0).

Syntax

domElement = Dom.GetImage (imageId&)

Parameters

  • The imageId& parameter indicates the id of the QB image.
    The main screen canvas can be retrieved by passing a 0 in as the value for this parameter.

See Also

Dom.Add Dom.Container Dom.Create Dom.Event Dom.Get Dom.Remove