开发者

how to insert circle shapes into a word document

I don't know how to insert a circle shape into my document. I'm u开发者_JS百科sing iterop.word intro c# and I need to insert 4 small circles into a clear document.


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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜