David Lopez
David Lopez

Reputation: 141

how to insert circle shapes into a word document

I don't know how to insert a circle shape into my document. I'm using iterop.word intro c# and I need to insert 4 small circles into a clear document.

Upvotes: 1

Views: 4392

Answers (1)

PatrickBoyd
PatrickBoyd

Reputation: 11

If you want to add a shapes to a word document, you can use the following method Document.Shapes.AddShape() and you can specify which shape you want to insert using this enumeration.

So if you want to add a circle you can do

wordDocument.Shapes.AddShape((int)Microsoft.Office.Core.MsoAutoShapeType.msoShapeOval,
        20, 20, 40, 40);

Upvotes: 1

Related Questions