Spire.Doc for .NET is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) with fast and high quality performance.

Thu Jan 13, 2011 3:26 am

How to set text around image in Spire.Doc?

Posts: 11
Joined: Mon Dec 27, 2010 3:08 am

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: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.Doc