DrawHRule Property

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:24

Description

True if the horizontal rule under the cell should be drawn.

You can get/set the horizontal rule color, shade, weight, dash, and position  on a table level with the HRuleColor, HRuleGray, HRuleWidth, HRuleDash, HRuleInside properties, or on the given row level with RuleColor, RuleGray, RuleWidth properties.

You can get the status, or turn on/off the vertical rule next to a cell with the DrawVRule property.

Syntax

object.DrawHRule [ =bStatus ]

object

Required. Object name, returned by Text.GetTableCell.

bStatus

True or False

Example

This script sets the rule under the selected cells.

Dim objTableCell = Text.GetTableCell

objTableCell.DrawHRule = true

Text.SetTableCell (objTableCell)