textDecorationNone Property

Microsoft FrontPage Visual Basic

textDecorationNone Property

Sets or returns a Boolean that represents whether to remove text decoration formatting from text.

expression.textDecorationNone

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

Example

The following example removes text decoration from all text in the body of the active document. Note that this applies only to text that was previously affected by the textdecoration property of the BODY element's style attribute.

    Dim objStyle As FPHTMLStyle

Set objStyle = ActiveDocument.body.Style
objStyle.textDecorationNone = True