ncssBdo Property

Microsoft FrontPage Visual Basic

ncssBdo Property

Sets or returns a Boolean that represents whether the range will be enclosed within a BDO element.

expression.ncssBdo

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

Example

The following example wraps a BDO element around the text within the first P element in the active document.

    Dim objPara As IHTMLElement
Dim objSS As IFPStyleState

Set objPara = ActiveDocument.all.tags("p").Item(0)
Set objSS = Application.ActiveDocument.createStyleState

With objSS
    .gatherFromElement objPara
    .ncssBdo = True
    .Apply
End With