Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert Image to rtf

Status
Not open for further replies.

swreng

MIS
Jun 22, 2006
90
GR
Dear all,

if i paste on a richtextbox an image
in the RTF property there is the following:

{\\rtf1\\ansi\\ansicpg1253\\deff0\\deflang1032{\\fonttbl{\\f0\\fnil\\fcharset161 Microsoft Sans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs17{\\object\\objemb{\\*\\objclass Paint.Picture}\\objw14399\\objh10799{\\*\\objdata \r\n}}\\par\r\n}\r\n.

If i save the above string in a database or in a file then is not possible be displayed the image on the richtextbox.

How can i convert the image to rtf in order to save pictures data?

Thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top