View Single Post
Old 09-11-2008   #3 (permalink)
Mark Salsbery [MVP]


 
 

Re: Save WPF Control as PNG image

"Jon Harrop" <jon@xxxxxx> wrote in message
news:La2dnRxn6vCZ9VTVnZ2dnUVZ8uGdnZ2d@xxxxxx
Quote:

> Mark Salsbery [MVP] wrote:
Quote:

>> There's lots of other examples of using RenderTargetBitmap floating
>> around
>> that don't use Measure/Arrange.
>>
>> Here's just one:
>>
> http://blogs.msdn.com/swick/archive/...using-wpf.aspx
>
> That solution does not work correctly when the control is already in a
> window. Specifically, the control appears in the output image at its
> offset
> in the window.
I only meant to point out there's lots of different examples of using
RenderTargetBitmap.

Here's another, possibly addressing the offset bitmap...
http://www.west-wind.com/Weblog/posts/150676.aspx

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++
Quote:

>
> --
> Dr Jon D Harrop, Flying Frog Consultancy Ltd.
> http://www.ffconsultancy.com/?u
My System SpecsSystem Spec