Html2Canvas
How to Use
Code sample
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
// Take a screenshot of a Control
Html2Canvas.Screenshot(this.panel1, (image) => { image.Save(@"\images\control.png"); });
// Take a screenshot of a Control using asynchronous code
var image = await Html2Canvas.ScreenshotAsync(this);
image.Save (@"\images\control_async.png");
// Take a screenshot of the browser
Html2Canvas.Screenshot((image) => { image.Save(@"\images\browser.png"); });