Table-Border in PDF

Technical support for Spire.Doc

Moderator: iceblue support

Table-Border in PDF

Postby MarcH » 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

Re: Table-Border in PDF

Postby amy.zhao » 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 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: 2251
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests