Class OMathBar (Word VBA)

The class OMathBar represents an equation with a bar above or below the base.

BarTop

Returns or sets a Boolean that represents the position of a bar in a bar object. True specifies a mathematical overbar. False specifies a mathematical underbar.

Dim omb As OMathBar: Set omb =  
omb.BarTop = True

E

Returns an OMath object that represents the base of the specified equation object.

Dim omb As OMathBar: Set omb =  
Dim omhE As OMath
Set omhE = omb.E

Parent

Returns an object that represents the parent object of the specified OMathBar object.

Dim omb As OMathBar: Set omb =  
Dim objParent As Object
Set objParent = omb.Parent