We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Outline table border in Doc.Io

Thread ID:





107517 Mar 6,2013 02:54 AM UTC Mar 6,2013 07:40 AM UTC WinForms 1
Tags: DocIO
Lucas Moffitt
Asked On March 6, 2013 02:54 AM UTC


I'm using the WinRT Doc.IO to create a few tables in a word document.

Teach table has a few columns and rows, and I want to provide an outline border only.

Looking at the documentation there isn't an easy way to specify just outline (unless I missed it)

I'm currently doing the following:

                IWTable table = section.AddTable();
                table.ResetCells(10, 5);
                table.TableFormat.Borders.BorderType = BorderStyle.Single;

but that gives each cell a solid border. Is there an easy way to give the table outline a border?

Gunasekaran T [Syncfusion]
Replied On March 6, 2013 07:40 AM UTC

Hi Lucas,

Thank you for your interest in Syncfusion products.

We have prepared Windows Store application to illustrate your requirement to create table with only outline solid borders in Word document using DocIO. On setting WTable.TableFormat.Borders.BorderType property will apply all the borders (Outline and internal borders) for entire table, in order to clear internal borders set BorderStyle.Cleared to WTable.TableFormat.Borders.Horizontal.BorderType and WTable.TableFormat.Borders.Vertical.BorderType. Please do find the sample from the attachment for your reference. Try the attached sample and let us know if this helps you.

Please let us know if you have any other questions.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon