|
[Quoted Text] > I can successfully show an image from the xml (base 64 incoded) into > the wordml but the problem is that i can't figure out a way to get the > image to display as it's original size. > I attempted to set the v:shape style property to auto and 100% with no > luck, the image always comes out a warped size from the original, > ususually heigh is 70% and width is 134%. > >From inside of MS word i can reset the image property so it is > displaying 100% with and height of the original size but i can't find a > way to do this in wordml. >
Does the image retain that after you close and re-open the document?
Have you tried saving this as WordProcessingML and comparing that result with the one you're trying to generate?
Have you tested with other graphics files / graphics formats?
Often, when the settings give you problems during automation, it turns out to be a problem in the graphics file. There was a situation once when we were seeing something "weird" and it turned out the graphic had been generated with some strange size information that was being "ignored" when Word imported the graphics file through the UI, but these "filters" don't kick in during automation.
Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-)
|