noWrap Property

Microsoft FrontPage Visual Basic

noWrap Property

Returns or sets a Boolean that represents whether text in an element wraps onto subsequent lines. True disables word wrapping so that text does not wrap onto following lines. False enables word wrapping so that text wraps onto following lines. Default is False.

expression.noWrap

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

Example

The following example specifies that text in the BODY element in the active document will not wrap text onto following lines.

    Dim objBody As FPHTMLBody

Set objBody = ActiveDocument.body

objBody.noWrap = True