Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Sat Feb 02, 2013 12:27 pm


I have a problem. I build with Spire.Doc a table. The border style is None. The Word Document shows the table correct with no border. But if I save the document with Spire to PDF the table-boarder is displayed. (See screenshot)

Do you have a code snipped, which shows me, how I can set the border correct? I need a table without a border.

Thank you.
You do not have the required permissions to view the files attached to this post.

Posts: 2
Joined: Thu Apr 05, 2012 11:35 am

Sun Feb 03, 2013 2:38 pm

Hello Marc,

Thanks for your inquiry.
Please try to use Section.AddTable(false); method, as shown the code snippet below.
We use Spire.Doc Pack (Hot Fix) Version:4.6.15(the download link is http://www.e-iceblue.com/Download/download-word-for-net-now.html) to do some tests. It works well on our side.
Please tell us if you still have the problem after finish the test.

Document document = new Document();
Section section = document.AddSection();
Table table =section.AddTable(false);

Thanks &Best Regards,
E-iceblue support team
User avatar

Posts: 2470
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc