Class OMathScrPre (Word VBA)

The class OMathScrPre represents an equation that contains a superscript or subscript to the left of the base. To use a OMathScrPre class variable it first needs to be instantiated, for example

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

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()