I'm trying to create a table in Word and need to add a vertical line to separate the first column from the rest (either by adding a right border to the first column or a left border to the second column).
I'm using MSWordUtils, but I haven't found any option that allows this.
Currently, I build the table and then use the MSWord_ReplaceBookmarkWithTable action to insert it into the Word document. The table itself looks fine, but I need a clear vertical line between the first and second columns.
Basically, the goal is to have something like this: a vertical line separating the first column from the rest of the table (either by adding a right border to the first column or a left border to the second column).
1 COL | 2 COL 3 COL
Hello Diogo,
When creating a table, you have the option to define its design using the Design attribute by selecting a record from the static entity MSWordTableDesign.
If you choose the TableGrid record, the result will look like the example shown.
There are other predefined designs available, but if you require a more specific or customized layout, you will need to implement those changes in the extension yourself.