Html2Canvas
Wisej.Web.Ext.Html2Canvas.Html2Canvas
Last updated
Was this helpful?
Wisej.Web.Ext.Html2Canvas.Html2Canvas
Last updated
Was this helpful?
Namespace: Wisej.Web.Ext.Html2Canvas
Assembly: Wisej.Web.Ext.Html2Canvas (2.0.0.0)
Implementation of the html2canvas (https://html2canvas.hertzen.com/) library. It's a singleton instance that can take a screenshot of a specific control or the entire browser and send the image back to the server.
Usage is quite easy:
Takes a screenshot of the browser.
Parameter
Type
Description
callback
Throws:
If any of the arguments is null.
Takes a screenshot of the browser.
Parameter
Type
Description
options
callback
Throws:
If any of the arguments is null.
Takes a screenshot of the specified Control.
Parameter
Type
Description
target
callback
Throws:
If any of the arguments is null.
Takes a screenshot of the specified Control.
Parameter
Type
Description
target
options
callback
Throws:
If any of the arguments is null.
Asynchronously returns an Image that represents a screenshot of the browser.
Parameter
Type
Description
options
Returns: Task. An awaitable Task that contains the screenshot.
Asynchronously returns an Image that represents a screenshot of the specified Control as it appears on the browser.
Parameter
Type
Description
target
options
Returns: Task. An awaitable Task that contains the screenshot.
Name
Description
From
Callback method that receives the object.
The to pass to the html2canvas call.
Callback method that receives the object.
The to render to an
Callback method that receives the object.
The to render to an
The to pass to the html2canvas call.
Callback method that receives the object.
The to pass to the html2canvas call.
The to render to an
The to pass to the html2canvas call.