WPicture - RotateFlip

Hi, I would like to rotate an image in a word document.

This is my script but it doesn't rotate the image, what is the problem?

IWParagraph headerPar = new WParagraph(Doc);

WPicture mImage = (WPicture)headerPar.AppendPicture(System.Drawing.Image.FromFile(Server.MapPath("MyImg.tif")));

mImage.TextWrappingStyle = TextWrappingStyle.InFrontOfText;

mImage.Image.RotateFlip(System.Drawing.RotateFlipType.Rotate90FlipNone);

Sec2.HeadersFooters.Header.Paragraphs.Add(headerPar);

Best regards
Marcello



1 Reply

GT Gunasekaran T Syncfusion Team October 12, 2010 05:41 AM UTC

Hi Marcello,

Thank you for using Syncfusion products.

We are able reproduce the mentioned issue with rotation of image in a Word document using DocIO. We suspect this could be a defect. We have forwarded this issue to our developer for further analysis. Could you please report this issue through Direct Trac Developer Support System https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents ), because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well?

Please let us know if you have any questions.

Regards,
Gunasekaran


Loader.
Up arrow icon