Hi Seema,
Thanks for your feedback.
Kindly note that each of our products is independent and incompatible, if you want to use multiple components of Spire in a same project, you need to download the Spire.Office (the latest version is
Spire.Office 5.4.2) to avoid incompatibility issues.
As for your another question, I tested the below code with Spire.Office 5.4.2 but didn't encounter any issue. To help us further look into it, please provide your full code and your input file(if any).
- Code: Select all
Document doc = new Document();
Section section = doc.AddSection();
Table table = section.AddTable();
table.TableFormat.Borders.BorderType = BorderStyle.Single;
table.ResetCells(2, 3);
table[0, 0].AddParagraph().AppendText(" ");
doc.SaveToFile("out.docx");
Sincerely,
Rachel
E-iceblue support team