Text around image?

Technical support for Spire.Doc

Moderator: iceblue support

Text around image?

Postby tomason » Thu Jan 13, 2011 3:26 am

How to set text around image in Spire.Doc?
tomason
 
Posts: 11
Joined: Mon Dec 27, 2010 3:08 am

Re: Text around image?

Postby iceblue support » Thu Jan 13, 2011 9:28 am

Thank you for your inquiry. You may use following code to set your text around image:
DocPicture picture = paragraph.AppendPicture(Image.FromFile(""Image.jpg""));
picture.TextWrappingStyle = TextWrappingStyle.Tight;
picture.HorizontalAlignment = ShapeHorizontalAlignment.Center;
e-iceblue support
User avatar
iceblue support
 
Posts: 244
Joined: Tue Dec 21, 2010 2:56 am


Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests