>WITH _Screen.System.Drawing > loCaptureBmp = .Bitmap.FromScreen(; > Thisform.HWnd, ; > mLeftOffset, ; > mTopOffset, ; > mWidth, ; > mHeight ) > > loCaptureBmp.Save("C:\Captured.png", .Imaging.ImageFormat.Png) >ENDWITH>Is it possible to take the result contained in
.Imaging.ImageFormat.Pngand stuff it directly into a VFP Image Object so I don't have to save to file then read the file? I thought I had done this once but it was some time back.
.imgDummy.PictureVal = .Imaging.ImageFormat.Pngand of course it didn't work. (hey, anythings worth trying once)
Thisform.imgPNG_Picture.Picture = "test.png" Thisform.imgPNG_PictureVal.PictureVal = FILETOSTR("test.png")Regards,