0

I want to Render HTML Code to an Image with C#.

Can I do this without taking a snapshot from a URL

if i have:

string s = "<html>..</html>"; 

can i convert it to image or Bitmap Object

1

2 Answers 2

1

Load the HTML to a WebControl, then create a screen shot... simple.

Sign up to request clarification or add additional context in comments.

Comments

-4

You can convert your code into a byte-array and then will be able to convert the byte-array to a bitmap object.

2 Comments

Are we trolling in answers now?
I think you've misunderstood the question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.