Control Reference > VSPrinter Control > VSPrinter Properties > TableBorder Property |
Returns or sets the type of border for tables.
[form!]VSPrinter.TableBorder[ = TableBorderSettings ]
The border is drawn using the current pen. Its color, style, and thickness are determined by the PenColor, PenStyle, and PenWidth properties. You may override the pen width using the TablePen, TablePenLR, and TablePenTB properties.
The following image shows valid settings for the TableBorder property and their effect:
Notice how the header and body are treated as different tables. For example, for the setting tbBottom, you get a border below the header row and another below the last row.
Note: You may also create additional vertical borders at specific positions by embedding formatting characters in the table format string (see AddTable). You may create additional vertical and horizontal borders at specific positions using the TableCell property. |
TableBorderSettings (Enumeration)