This looks like a dup question, it is, but no one has answered the actual question(s).
Here goes:
Basically, I'm rendering a ViewPort3D as a 2D snapshot in code, but need to convert that type
RenderTargetBitmap
into the type System.Drawing.Bitmap
(for further processing on the 2D side).
Dim bmpRen As New RenderTargetBitmap(1024, 550, 96, 96, PixelFormats.Pbgra32)
bmpRen.Render(Me.vp3dTiles) 'render the viewport as 2D snapshot
While I know how to save it to a file, I'd rather skip that step and convert the bmpRen
to a System.Drawing.Bitmap
type, but there is no method to do so.
System.Drawing
stuff in WPF. – Hyperspace