
picture format in rtf code (richtext/rtf control)
When i insert a picture in a richtext control the pic is stored in the rtf
code like that:
{\pict\wmetafile8\.....}
After the rtf-head of the picture with size and scale information, the data
of the hole picture is listed in Hex-Data.
The source of the pic gets lost because as far as i know the richtext
control supports no insertion of a pic as a link. It is possible to write
this source information after the pic data for example as hidden text (white
textcolor), but then the connection gets lost if i move the pic with the
mouse.
So i have to link the pic source information for example path and filename
to the picture data itself. So the first thing i have to know is: how is the
metafile coded in the rtf code or how to convert a metafile to rtf code (and
vice versa)
Any ideas would be greatly appreciated.
Sorry for my english !
Thanks,
Andreas Waibel.