does any one know how would if paste picture in RTB. please tell me the code and littel ditels will be help full. thank you
Printable View
does any one know how would if paste picture in RTB. please tell me the code and littel ditels will be help full. thank you
If you simply have a rtb on your form and have copied a picture to the clipboard already then you can just use
As long as you save in rtf format it'll keep the picture.Code:clipboard.paste
there is no "paste" method for the Clipboard. I think you're referring to "GetData" but that will not work.
That was my bad. Thanks Megatron :) However what you can do is copy a picture to the clipboard and then while your app is running and the rtb has focus you can use the ctrl+v keys to paste a picture into the rtb. If you save it as an rtf file then it'll keep the file. You can add a picture using the clipboard object however it'd require you to actually code the rtf file for output and I'm not going to attempt to explain that. But anyway, sorry for the ".paste" thing. I just got off work and was winging it thinking it was there.