简体   繁体   中英

screenshot a page with swf in asp.net/c#

I want to take a screenshot of a page, which contains a swf file. (I'll not be able to modify the swf)

I tried to make screenshots using grabz.it, html2canvas .. but it works fine if it's a page without flash.

So how do i overcome this?

How do I make it work in asp.net / c#

Thanks.

A screenshot is a client operating system functionality, not a functionality of a web site (or web application, for that matter). There are multiple OSs out there (Win, Mac, Linux, iOS etc), and all handle screenshots differently.

Both tools you tried read and render HTML by themselves, and do not take actual screenshots. That's why they don't render Flash.

The only real chance you have is to find something like a Java applet, which takes a real "hard" screenshot of the user's screen, and is OS independent.

There is no way to take a screenshot with C# from ASP.NET codebehind.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM