我使用的VS2008,C#的编插件在Startup函数中加入下列三行Word.Shape shape1 = this.Shapes.AddLine(20, 20, 140, 140); shape1.Line.Weight = 3;shape1.Line.EndArrowheadStyle = Office.MsoArrowheadStyle.msoArrowheadTriangle;但是报错说 error CS1061: 'WordAddIn1.ThisAddIn' does not contain a definition for 'Shapes' and no extension method 'Shapes' accepting a first argument of type 'WordAddIn1.ThisAddIn' could be found 。 但是我插入了using Word = Microsoft.Office.Interop.Word;using Office = Microsoft.Office.Core;两个引用。不知道为什么还不行,希望高人知道,谢谢了。什么语言实现的都行谢谢了