- Code: Select all
chart.TextBoxes.AddTextBox(300, 1000, 200, 500).ShapeType = ExcelShapeType.TextBox;
chart.TextBoxes[0].Text = "Hello";
when I run this code it creates the textboxes just fine but I want to remove the lines that surround the text and I look in the documentation and I am stuck on how to remove the borders.
Thank You