RenderTargetBitmap will convert any Visual to a bitmap but sometimes it isn't quite as straighforward as just calling Render(). The most misunderstood and underused of the bitmap classes is probably ...
I wrote a program that generates fractals in visual basic. The way it currently works is that I pass the function a handle to a device context and it uses SetPixel to draw to that hDC. I'd like to be ...