noShade Property

Returns or sets a Boolean that represents whether the shading line is added to a horizontal line. True indicates that the horizontal line is a solid one-color line. False indicates that the horizontal line is a traditional two-color line. Default is False. Corresponds to the noshade attribute for the HR element.

expression.noShade

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

The following example sets the first horizontal line in the active document to a solid one-color line.

Dim objLine As FPHTMLHRElement

Set objLine = ActiveDocument.all.tags("hr").Item(0)

objLine.noShade = True

Applies to | FPHTMLHRElement Object | IHTMLHRElement Object