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.
Syntax
Section titled “Syntax”SetWebSurfaceSize(id, width, height)| Parameter | Type | |
|---|---|---|
id |
number | the surface |
width |
number | metres |
height |
number | metres |
Returns
Section titled “Returns”true, or false when id is no surface or a size is out of bounds
Example
Section titled “Example”SetWebSurfaceSize(board, 3, 2)See also
Section titled “See also”CreateWebSurface · SetWebSurfacePos · the Web surfaces group of the index
