Class OMathScrPre (Word VBA)

The class OMathScrPre represents an equation that contains a superscript or subscript to the left of the base.

E

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

Dim oms As OMathScrPre: Set oms =  
Dim omhE As OMath
Set omhE = oms.E

Parent

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

Dim oms As OMathScrPre: Set oms =  
Dim objParent As Object
Set objParent = oms.Parent

Sub

Returns an OMath object that represents the subscript for a pre-sub-superscript object.

Dim oms As OMathScrPre: Set oms =  
Dim omhSub As OMath
Set omhSub = oms.Sub

Sup

Returns an OMath object that represents the superscript for a pre-sub-superscript object.

Dim oms As OMathScrPre: Set oms =  
Dim omhSup As OMath
Set omhSup = oms.Sup

ToScrSubSup

Converts an equation with a superscript or subscript to the left of the base of the equation to an equation with a base of a superscript or subscript.

Dim oms As OMathScrPre: Set oms =  
Dim omfToScrSubSup As OMathFunction
Set omfToScrSubSup = oms.ToScrSubSup()