I am able to capture the aspx into HTML, by overriding render in a page.
I then use:
image IMG = HtmlRenderer.HtmlRender.RenderToImage(Pagehtml)
where Pagehtml is a string containing all the page html code.
I set
Response.ContentType = "image/Png"
I save to the output buffer of the Response
IMG.Save(Response.OutputStream, ImageFormat.Png)
I send it to the client screen
Response.Flush()
response.End()
But I get a blanck page...... any other ideas?????
I then use:
image IMG = HtmlRenderer.HtmlRender.RenderToImage(Pagehtml)
where Pagehtml is a string containing all the page html code.
I set
Response.ContentType = "image/Png"
I save to the output buffer of the Response
IMG.Save(Response.OutputStream, ImageFormat.Png)
I send it to the client screen
Response.Flush()
response.End()
But I get a blanck page...... any other ideas?????