>>Hi All:
>>
>>Clipper has the following function:
>>
>>
>>screenvar = savescreen(n1, n2, n3, n4)
>>
>>
>>where n1...n4 are screen coordinates.
>>
>>You can then say @n1,0 clear
>>-
>>-
>>-
>>code here
>>-
>>-
>>-
>>and then issue a:
>>
>>
>>=restscreen(n1, n2, n3, n4, screenvar)
>>
>>
>>This leaves whtever is above the coordinates undisturbed.
>>
>>How can this be accomplished in VFP?
>>
>>Thanks,
>>
>>Yossi
>
>
>Hi Yossi,
>
>GdiPlusX brings a function that allows you to capture a WIndow, specific portion of a window, or a specific object from that window.
>
>
>
DO LOCFILE("System.App")
>
>LOCAL loCaptureBmp AS xfcBitmap
>WITH _Screen.System.Drawing
> loCaptureBmp = .Bitmap.FromScreen(Thisform.Container1)
> loCaptureBmp.Save("c:\Captured.png", .Imaging.ImageFormat.Png)
>ENDWITH
>
>
>For more options, check here:
>
http://weblogs.foxite.com/vfpimaging/archive/2007/01/17/3145.aspx>
>HTH
>
>Cesar
Hi Cesar:
thanks. I will look at it.
Yossi