このようなWord文書でラベルを作成しました
public void CreateLabel(string LabelName, int left, int top, int width, int height, string text)
{
var oRange = currentDoc.Bookmarks.get_Item("\\endofdoc").Range;
var oshape = oRange.Document.Shapes.AddLabel(MsoTextOrientation.msoTextOrientationHorizontal, left, top, width, height);
oshape.Name = LabelName;
oshape.TextFrame.ContainingRange.Borders.OutsideLineStyle=WdLineStyle.wdLineStyleNone;
oshape.TextFrame.ContainingRange.Text = text;
oshape.TextFrame.ContainingRange.Font.Size = 14;
}
しかし、境界線を none.what に設定することはありません。問題は何ですか?