Dan
Dan

Reputation: 13343

Silverlight - Taking a "screenshot" from within silverlight itself?

This is kind of vague as the control has not been designed yet and I thought I would ask before going with it.

I will have a control that shows an object within Silverlight.

The user can rotate the object etc.

Now, the user needs to be able to copy what they see to an image. Is this possible somehow, or do I have to render it somewhere else?

So it's not a screenshot per se, but a printable image of a specific control / area of the screen.

Upvotes: 0

Views: 2627

Answers (1)

NewAgeSolution
NewAgeSolution

Reputation: 226

http://blog.blueboxes.co.uk/2009/07/21/rendering-xaml-to-a-jpeg-using-silverlight-3/

In Silverlight 3 there is way to write XAML to WriteableBitmap. Technique is shown in above blog.

Upvotes: 1

Related Questions