Hi Peter,
Just completing Bo, at the link below I tried to document the functions that we have included in GdiPlusX that are not in the original .NET classes. For most cases, there are samples showing how to use them.
For the rest of the functions the documentation from the .NET System.DRawing classes will provide very significant help.
See:
GdiPlusX undocumented functions http://weblogs.foxite.com/vfpimaging/archive/2008/05/26/6108.aspxRegards
Cesar
>Is there a manual for gdiplusx somewhere?
>Peter
>
>>>How can I replace a blob field with the content of the clipboard. I have an image from Snagit in the clipboard and need to put it into a blob field
>>>
>>>possible??
>>
>>Here is a code sample using GDIPlusX
>>
>>
>>DO SYSTEM.APP
>>WITH _SCREEN.System.Drawing
>> loBMP = .Bitmap.FromClipboard()
>> REPLACE myBlob WITH loBMP.GetPictureVal(.Imaging.ImageFormat.Bmp)
>> ** or **
>> REPLACE myBlob WITH loBMP.GetPictureVal(.Imaging.ImageFormat.Jpeg)
>> ** or **
>> REPLACE myBlob WITH loBMP.GetPictureVal(.Imaging.ImageFormat.Png)
>>ENDWITH
>>