Dom.GetImage - boxgaming/qbjs GitHub Wiki
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