Returns a blob object from a canvas image or drawing.
Syntax
var retVal = HTMLCanvasElement.msToBlob();Parameters
This method has no parameters.
Return value
Type: Blob
A blob object.
Exceptions
| Exception | Condition |
|---|---|
|
The image is not of the same origin or domain as the destination. Versions prior to a Windows Store app using JavaScript will return DOMException.SECURITY_ERR. |
See also
Build date: 11/28/2012