Arun Kumar
Arun Kumar

Reputation:

saving aspx page into an image

need to convert, an aspx page with a panel having image and some labels into it, as an image

in details i would say i need to save the image some text content on it as a new image...

please help soon running out of target...

Upvotes: 1

Views: 401

Answers (2)

Rob Fonseca-Ensor
Rob Fonseca-Ensor

Reputation: 15621

Write a winforms app with a WebBrowser control in it. Tell the WebBrowser to load the url, wait for it to finish and then use this to paint your form into a bitmap. Use BitMap.Save to save the final image.

Upvotes: 4

Jan Jongboom
Jan Jongboom

Reputation: 27323

Just make a screenshot. Either by printscrn or by code.

Upvotes: -1

Related Questions