Class OMathBreaks (Word VBA)
The class OMathBreaks represents a collection of OMathBreak objects that represent all the line breaks in an equation. To use a OMathBreaks class variable it first needs to be instantiated, for example
Add
Inserts a break into an equation and returns an OMathBreak object that represents the break.
Add (Range)
Range: The position at which to insert the break in the equation.
Dim ombs As OMathBreaks: Set ombs =
Dim omb As OMathBreak
Set omb = ombs.Add(Range:=)
Count
Returns the number of items in the OMathBreaks collection.
Dim ombs As OMathBreaks: Set ombs =
Dim lngCount As Long
lngCount = ombs.Count
Item
Returns an OMathBreak object that represents the specified item in the collection.
Item (Index)
Index: Specifies the ordinal position of the object within the collection.
Dim ombs As OMathBreaks: Set ombs =
Dim omb As OMathBreak
Set omb = ombs(Index:=1)