Erez
Erez

Reputation: 6446

How to Export Viewport3D to a 2d Image file?

I'm using 3d in WPF and want to save it to a 2d image file, kind of screen shot. What's the best way to do that ?

Upvotes: 5

Views: 3238

Answers (1)

Govert
Govert

Reputation: 16907

In his 12 days of WPF 3D series, Eric Sink has a nice post about Rendering a WPF 3D scene to a Bitmap. Also of interest might be the post on Printing support.

And for any WPF 3D user, I highly recommend the (open-source) Helix 3D Toolkit, which has several importers and exporters to different formats, and is an essential WPF 3D companion library.

Upvotes: 4

Related Questions