Skip to content

SetWebSurfaceSize

Makes a web surface’s board bigger or smaller.

Its width and height in metres (0.1 to 20 each). The page keeps its pixels: a bigger board shows the same page bigger.

SetWebSurfaceSize(id, width, height)
Parameter Type
id number the surface
width number metres
height number metres

true, or false when id is no surface or a size is out of bounds

SetWebSurfaceSize(board, 3, 2)

CreateWebSurface · SetWebSurfacePos · the Web surfaces group of the index