Description
The weight in millipoints of the horizontal rule under the tabulation row.
You can set the horizontal rule weight on a table level with the HRuleWidth property.
You can turn off the horizontal rule below a single cell with the DrawHRule property.
To set left and top borders of the cells in the first column/first row, use ExtRuleColor, ExtRuleGray, ExtRuleDash, ExtRuleWidth. Same properties are used to set the right and bottom borders of the external cells, and if set, supersede the column, row and cell-level settings.
Syntax
object.RuleWidth [ =mValue ] |
object
Required. Object name, returned by Text.GetTableRow.
mValue
Value of width.
Example
This script increments the weight of the vertical rules in the selected row(s) for 0.25pt.
Dim objTableRow = Text.GetTableRow
if objTableRow.HasRuleWidth then
objTableRow.RuleWidth = objTableRow.RuleWidth + 250
end if
Text.SetTableRow (objTableRow)
See also
HRuleColor HruleDash, HRuleGray, HRuleInside, HRuleWidth on a table level.
DrawHrule, DrawVRule on the cell level.