Class OMathBorderBox (Word VBA)

The class OMathBorderBox represents an invisible box around an equation or part of an equation to which you can assign properties that affect the layout or mathematical formatting of the entire box. For example, a box can serve as an operator emulator with or without an alignment point, serve as a like breakpoint, have an associated argument size (argSz), or be grouped so as not to allow line breaks.

E

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

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

HideBot

Returns or sets a Boolean that represents whether to hide the bottom border of an equation's bounding box.

Dim omb As OMathBorderBox: Set omb =  
omb.HideBot = True

HideLeft

Returns or sets a Boolean that represents whether to hide the left border of an equation's bounding box.

Dim omb As OMathBorderBox: Set omb =  
omb.HideLeft = True

HideRight

Returns or sets a Boolean that represents whether to hide the right border of an equation's bounding box.

Dim omb As OMathBorderBox: Set omb =  
omb.HideRight = True

HideTop

Returns or sets a Boolean that represents whether to hide the top border of an equation's bounding box.

Dim omb As OMathBorderBox: Set omb =  
omb.HideTop = True

Parent

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

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

StrikeBLTR

Returns or sets a Boolean that represents a diagonal strikethrough from lower left to upper right.

Dim omb As OMathBorderBox: Set omb =  
omb.StrikeBLTR = True

StrikeH

Returns or sets a Boolean that represents a horizontal strikethrough.

Dim omb As OMathBorderBox: Set omb =  
omb.StrikeH = True

StrikeTLBR

Returns or sets a Boolean that represents a diagonal strikethrough from upper left to lower right.

Dim omb As OMathBorderBox: Set omb =  
omb.StrikeTLBR = True

StrikeV

Returns or sets a Boolean that represents a vertical strikethrough.

Dim omb As OMathBorderBox: Set omb =  
omb.StrikeV = True