We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Border of Textbox made invisible

Can I make the border of textbox1 in the attached MenuWithBackgrounjd_Out.xlsx invisible? It is close to cell L11 in Sheet1.

Hi,

Thanks for your posting and using Aspose.Cells.

Please set the following property to false to achieve your requirement.

  • TextBox.LineFormat.IsVisible

Please see the following code. I have attached the output excel file generated by it for your reference.

C#
Workbook workbook = new Workbook(“MenuWithBackground_Out.xlsx”);

Worksheet worksheet = workbook.Worksheets[0];

TextBox tb = worksheet.TextBoxes[0];
tb.LineFormat.IsVisible = false;

workbook.Save(“output.xlsx”);