msToBlob method

1 out of 1 rated this helpful - Rate this topic

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

ExceptionCondition
SecurityError
18

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

HTMLCanvasElement

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.