how to convert HTML which is stored in strResponse to PDF file and i am using itextSharp dll
<p>I need to create pdf of webpage using its url.
I got the HTML of web page using </p>

<pre><code>        WebRequest myWebRequest = WebRequest.Create("http://www.google.com");
        WebResponse myWebResponse = myWebRequest.GetResponse();
        Stream ReceiveStream = myWebResponse.GetResponseStream();
        Encoding encode = System.Text.Encoding.GetEncoding("utf-8");
        StreamReader readStream = new StreamReader(ReceiveStream, encode);
        string strResponse = readStream.ReadToEnd();
</code></pre>

<p>Can any one help in how to convert HTML which is stored in strResponse to PDF file and i am using itextSharp dll.</p>

<p>Thanks
Ratika</p>
