Help.. Need to convert HTML to image file

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Farhomar
    replied
    I use WebsitesScreens hot dll for this. this .net component can be used in any .net language. you just try this, it's easy to use.

    Leave a comment:


  • Plater
    replied
    Originally posted by kunal pawar
    try this

    I think if u set ur page content type as Image/jpeg then ur page content will appear as Image in browser
    so set ur contenttype as image
    Response.Conten tType="image/jpeg"
    That works if you are sending byte data from an image (jpeg)

    However if you have a bunch of html controls and what not and want an image representation of how they would look, it won't work.

    If you are in a windows application, you can add an instance of the WebBrowser object and can generate a picture from that object I think. Other then that I don't know, and would be curious to hear an answer.

    Leave a comment:


  • kunal pawar
    replied
    try this

    I think if u set ur page content type as Image/jpeg then ur page content will appear as Image in browser
    so set ur contenttype as image
    Response.Conten tType="image/jpeg"

    Leave a comment:


  • zaggi
    started a topic Help.. Need to convert HTML to image file

    Help.. Need to convert HTML to image file

    Hi,

    I need to convert HTML file to any image file. I need to get it done in c#.NET only.
    Could you please suggest me some ways of doing it.

    Thanks,
    Zaggi
Working...