Class OMathDelim (Word VBA)

The class OMathDelim represents a delimiter object, consisting of opening and closing delimiters (such as parentheses, braces, brackets, or vertical bars), and one or more elements contained inside the delimiters. To use a OMathDelim class variable it first needs to be instantiated, for example

BegChar

Returns or sets an Integer that represents the beginning delimiter character in a delimiter object.


Dim omd As OMathDelim: Set omd =  
omd.BegChar =

E

Returns an OMathArgs object that represents the list of arguments for the specified equation object.


Dim omd As OMathDelim: Set omd =  
Dim omasE As OMathArgs
Set omasE = omd.E

EndChar

Returns or sets an Integer that represents the ending delimiter character in a delimiter object.


Dim omd As OMathDelim: Set omd =  
omd.EndChar =

Grow

Returns or sets a Boolean that represents whether delimiter characters grow to the full height of the arguments that they contain.


Dim omd As OMathDelim: Set omd =  
omd.Grow = True

NoLeftChar

Returns or sets a Boolean that represents whether to hide the opening delimiter in a delimiter object.


Dim omd As OMathDelim: Set omd =  
omd.NoLeftChar = True

NoRightChar

Returns or sets a Boolean that represents whether to hide the closing delimiter in a delimiter object.


Dim omd As OMathDelim: Set omd =  
omd.NoRightChar = True

SepChar

Returns or sets an Integer that represents the separator character in a delimiter object when the delimiter object contains two or more arguments.


Dim omd As OMathDelim: Set omd =  
omd.SepChar =

Shape

Returns or sets a WdOMathShapeType constant that represents the appearance of delimiters (for example, parentheses, braces, and brackets) in relationship to the content that they surround. Possible return values are wdOMathShapeCentered - Vertically centers delimiters around the entire height of the equation causing delimiters grow equally above and below their midpoint, wdOMathShapeMatch - Matches the shape of the delimiters to the size of their contents.


Dim omd As OMathDelim: Set omd =  
omd.Shape = wdOMathShapeCentered