Page 1 of 1

Cell Borders

Posted: Thu Sep 06, 2007 3:03 am
by bglboss
Sergey

I want to make the border visible on the top of a cell and the bottom of a cell but not the sides of the cell:

ie
_____________
123456
_____________

I also want the top border and the bottom border to be different widths ie top width 1 and bottom width 2.

Is this possible ?

Keeping tables together

Posted: Thu Sep 06, 2007 10:25 am
by bglboss
Sergey

In a similar vein, is there any way I can tell Richview to keep a table together so it will not split a table at a page break ?

Posted: Thu Sep 06, 2007 5:05 pm
by Sergey Tkachenko
1) You can use Cell.VisibleBorders to hide some border sides.
Alternatively, you can use table "rules", but they cannot be exported in HTML or RTF.
You cannot make different border widths, it's the same for all cells (but you can draw border yourself in table.OnDrawBorder event)

2) Exclude rvtoRowsSplit from table.PrintOptions.

Posted: Sat Sep 08, 2007 6:09 am
by bglboss
Thanks Sergey