Skip to main content


Showing posts from May, 2009

How To Export WebPage as Image in

In this post i will show how to export Webpage as image in Start Visual Studio 2005.Create a Web site.Add Reference of System.Windows.Forms Add AspCompat="true" in page attribute.Verify that the following namespaces are included in the ExportWebPageToImage.cusing System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; Here is complete source code <%@ Page Language="C#" AspCompat="true" AutoEventWireup="true" CodeFile="ExportWebPageToImage.aspx.cs" Inherits="ExportWebPageToImage" %><!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN"""><htmlxmlns=""><headrunat="server"><title></…