I agree that it is different, but I don't agree that it is necessarily harder. Essentially you can write out an arbitrary part of the visual tree as an image file (using your choice of formatting/encoding) in about 5 lines of code.
>From a size/learning curve point-of-view WPF is about the same size (in terms of # of public members and classes) as WinForms 2.0 and ASP.NET 2.0 put together. Have fun Joseph On Wed, Mar 24, 2010 at 8:22 AM, Greg Keogh <[email protected]> wrote: > Hi Paul et al, the tip you gave me led to the correct sample code to > convert my drawing elements into images, to save the on the clipboard and as > files. > > > > I must say, the way this works in WPF compared to the old GDI days is > startlingly different. The use of classes like RenderTargetBitmap, > BmpBitmapEncoder and BitmapFrame.Create() are obscure to say the least. To > figure out how to do this without specific clues and examples might have > taken hours. > > > > More and more classes, abstraction, traps, tricks and obscurity. Why is it > all getting so hard? > > > > Greg > > _______________________________________________ > ozwpf mailing list > [email protected] > http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf > >
_______________________________________________ ozwpf mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
