471,337 Members | 1,151 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Image Files and RTF

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/de.../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
Jan 5 '06 #1
0 1419

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by geradeaus | last post: by
3 posts views Thread by dave | last post: by
3 posts views Thread by Christopher Mouton | last post: by
1 post views Thread by D. Yates | last post: by
35 posts views Thread by Stan Sainte-Rose | last post: by
6 posts views Thread by Frank Rizzo | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.