.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Asad Ali
Fauzul Azmi
Post New Web Links

How to Convert HTML to Image

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

 HI all,

I was struggling for the process/code to convert html to image. Please suggest any tutorials for this. And also any code help greatly appreciated.


thanks and regards,



View Complete Post

More Related Resource Links

Convert html to pdf using iTextSharp


can anyone provide me a sample code who have used iTextsharp(chapter 0707) to convert HTML to PDF.... Please help.... urgent...!!!

Want to convert html page into pdf format & send same pdf as a attachment

Dear All i want to convert html page into pdf format & i have to send that same pdf  by attachment,if some one has the sample code , please send me

How convert bitmap to Image.source ?

I hold some bitmap object in the memory  ( simple System.Drawing.Bitmap ). I want to make some wpf image control to show this bitmap. I dont want to save the bitmap to the disk and then load it as URI to the wpf image control So, How can i do this simple action ?   Thanks.

How to convert both text and image into image

Hi, Here is a question. how to convert both text and image together into an image. To clarify my question I can say if I have a text editor where I can add both text,image,audio or video player, how can I convert the whole texteditor.text (it gives me html code) to an image and save it in a file. I will be highly pleased with your answer. Help me please. Thank you. 

How to convert raster Image to Vector image format

I want to covert raster image to vector image format in  C#is it possible ??Thanks

convert html to pdf on the fly

hi all, i want to convert html to pdf on the fly without creating file on sever  and the pdf file appears to user to be open dirct how can i do it?

convert image to rtf code

how can i convert image to rtf code

How to convert HTML to RTF



I am working on one application and i need to convert the data from HTML to RTF format.

I am having some tools which are converting the HTML to RTF format.But i want to do it from application(Using Visual Studio 2005).

I am working on asp.net 2.0 and i need to convert HTML to RTF format from here only.

can any one help me in doing this.

 Best Regards,

convert doc to html and display it


i have create a small program that upload a document to a file path and then convert it to an html doc in whith it create me an html file and a folder with the same name that include the style of the document and photos if in the original document they are any photos.

what i want to know is if we upload the document and they are photos when i click on the html file that is been create i can see the photos, but when i include the html file in my asp.net code i can not see the photos and only the text document is been show.

is it possible to view and the photo or not?


How to convert .html format data to normal text using Regular Expressions?

How to convert .html format data to normal text using Regular Expressions?

Interesting Problem WPF Visual to Image Convert.


I am converting the Canvas to Image By using

renderBitmap = new RenderTargetBitmap(desiredWidth, desiredHeight, 96d, 96d, PixelFormats.Pbgra32);// PixelFormats.Pbgra32);
                    //RenderOptions.SetEdgeMode(drawingVisual, EdgeMode.Aliased);
                    RenderOptions.SetBitmapScalingMode(drawingVisual, BitmapScalingMode.HighQuality );
                    drawingVisual.SnapsToDevicePixels = true;
                    var dv = new DrawingVisual();
                    using (DrawingContext ctx = dv.RenderOpen())

                        var vb = new VisualBrush(drawingVisual);

How to Convert System.Drawing.Image Variable to Byte variable



I got a variable of type System.Drawing.Image and need to convert it to a variable of type byte so I can store the image in the database. Can someone show me how to do that in VB.NET code.

Thanks alot

Convert Image to PDFusing C#



I need to convert IMAGE to PDF, I have used ITextSharp, PdfSharp and PdfVision but the output PDF is not full image, either cutted or 20% of the image is converted....

Waiting for kind response...



How to convert from HTML in aspx form?


This code works only in HTML format. This means that I can not select standard components:
"Inserting an ASP.NET control will convert the HTML form in the page to an ASP.NET form and remove its current properties. Do you want to insert the ASP.NET control?"

When converted following code does not work anymore.
I'd like that code works in ASP.NET mode.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_scripts_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<script src="jquery-1.2.6-vsdoc.js" type="text/javascript"></script>
<script src="jquery-1.2.6.js" type="text/javascript"></script>
<script src="JScript.js" type="text/javascript"></script>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <meta name="robots" con

SharePoint Server 2010 - API to convert word docs to FILTERED HTML


Using word automation services, we cannot convert a doc/docx to FILTERED html, which can be done on client side using "saveas".

Is there any unexposed API through which one can achieve this using SharePointServer2010 + c# programatically.

or any alternative way to get FILTERED HTML format file from doc/docx?

I knew the way to do this as a client side application. This can be acheived simply by recording macros.

Ref: http://tudorstoian.blogspot.com/2008/02/word-automation.html

I want sharepoint 2010 server side way to do this task.

How can I do this image and text split in html?


1) The image is from a asp:image tag
2) text is from asp:label

view here : http://screencast.com/t/fNL3SUzG

How can I get text to start after the image is set in the top left corner, and then have text wrap underneath the image, if the text is long enough.

I need to use asp:image and asp:labels as the inputs are populated from codebehind.

How can this text and image format be done ???

Convert a control as an metafile image


I am having a problem when converting the control to a metafile image and adding the metafile in the print preview document. Print preview document appears fine but when zoomed, I could see some strokes appearing in the print preview document while drawing the controls. Is there any way to avoid this? Please suggest.




I have created a simple sample application. Please refer the following application and also the screen shot. Is this a bug?



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend