canvasResize
Last updated
Last updated
Resize an existing canvas, canvas are mainly used for printing.
Web
Mobile
Name | Description | Data Type | Default | Options | Required |
---|---|---|---|---|---|
Description | Output Type |
---|---|
The function to be executed when the canvas is resized successfully.
The function to be executed when the canvas is not resized successfully.
Description | Output Type |
---|---|
Description | Output Type |
---|---|
canvas
An existing canvas to be copied over to the new canvas.
-
-
Yes
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
Returns the html canvas.
Returns the error.
Text