canvasResize
Last updated
Resize an existing canvas, canvas are mainly used for printing.
Web
Mobile
canvasWidth
Width of the new resized canvas.
Number
-
-
No
canvasHeight
Height of the new resized canvas.
Number
-
-
No
extra
Additional data to be used in the callbacks.
Any
-
-
No
Returns 'true' or 'false', if it was executed successfully.
Boolean
The function to be executed when the canvas is resized successfully.
Returns the html canvas.
The function to be executed when the canvas is not resized successfully.
Returns the error.
Text
Last updated