Hi, all !
There is an object of type TXImage. I need to insert a photo from the Clipboard into it. How could I possibly do that ?
Hi, all !
There is an object of type TXImage. I need to insert a photo from the Clipboard into it. How could I possibly do that ?
@ 300, 300 XIMAGE oImage SIZE 300, 300 ;
OF oWnd SOURCE "ejemplo.png" NOBORDER
oImage:lCanPaste := .T.Thank you for your help !
Can I save an image from TXImage to a variable ?
I do not understand well
Please, explain better
The TXImage class has a Save method that allows you to save the image only to a file. I need to save the image to a variable
hBitmap := oImage:GetHBitmap()
the GetHBitmap() function will return the handle of the picture.
I need the text of picture
text of picture?
I need to save the picture to BLOB. I can do this
buf=memoread ("my.jpg")
blobdirectput(0, buf)
But is it possible to do so ?
blobdirectput(0, image:GetHBitmap() )
BmpToStr( oImage:GetHBitmap() )
Mr Nages,
Can you post here sample how to handle the Paste Image..?
Thanks.
oImage:lCanPaste := .t.
Thanks Mr Nages.
Best Regard..