K
kojikabuto
Hello
I'd like to insert an image in a RTF document using a programming
language (C#), this image must be aligned to the right and the text wrap
around the picture.
This is the code I found (from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/html/rtfspec_3.asp)
to insert an image in a RTF document, where in the "shape properties" I
tell how the picture is aligned (Text Wrap Around Shape and Wrap Both
sides of Shape):
{\shp
{\*\shpinst[\shape properties]
{\sp {\sn ....} {\sv [value]}}
{\sp {\sn pib} {\sv {\pict{[\picture properties]{\*\blipuid[N]}[HEX
CODE#1]}}}
{\sp {\sn ....} {\sv [value]}}
}
{\shprslt[\shape properties]
{\pict[\picture properties]\wmetafile8\bliptag[N]{\*\blipuid[N]}[HEX
CODE#2]}
}
}
Then I see that two different Hex Codes for the same image file. What
are these codes? I can get this code from the bin file, but what is the
other code and how to get it?
Thank you and sorry for my really poor English
Cheers
I'd like to insert an image in a RTF document using a programming
language (C#), this image must be aligned to the right and the text wrap
around the picture.
This is the code I found (from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnrtfspec/html/rtfspec_3.asp)
to insert an image in a RTF document, where in the "shape properties" I
tell how the picture is aligned (Text Wrap Around Shape and Wrap Both
sides of Shape):
{\shp
{\*\shpinst[\shape properties]
{\sp {\sn ....} {\sv [value]}}
{\sp {\sn pib} {\sv {\pict{[\picture properties]{\*\blipuid[N]}[HEX
CODE#1]}}}
{\sp {\sn ....} {\sv [value]}}
}
{\shprslt[\shape properties]
{\pict[\picture properties]\wmetafile8\bliptag[N]{\*\blipuid[N]}[HEX
CODE#2]}
}
}
Then I see that two different Hex Codes for the same image file. What
are these codes? I can get this code from the bin file, but what is the
other code and how to get it?
Thank you and sorry for my really poor English
Cheers