That's what I was afraid of - thanks. (I dislike P-Invoke because we're all
supposed to be 100% managed code.)

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
> That's what I was afraid of - thanks. (I dislike P-Invoke because we're
> all
> supposed to be 100% managed code.)
Don't know why you'd need P/Invoke here. Do you know where the Graphics
object came from? If it's from an exposed window onscreen, use the
CopyFromScreen method to get it into a Bitmap. If it's from another Image
(Bitmap/Icon/Metafile, etc) you can use that Image directly or use
DrawImage. If the Graphics object is to an obscured window (another window
overlaps it) or a DirectX surface, then BitBlt isn't going to get you the
data either, because it isn't in any GDI buffer.
>> Hi
>>
[quoted text clipped - 22 lines]
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
David Thielen - 26 Jun 2006 18:41 GMT
It's from a J# (not .NET) Graphics2D object. The only way to get the bitmap
is it will give me a .NET Graphics object.

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
> > That's what I was afraid of - thanks. (I dislike P-Invoke because we're
> > all
[quoted text clipped - 34 lines]
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.