enclose method

enclose

Encloses a math element in parenthesis

Returns

The math element of type IMathDelimiter which includes the parenthesis

def enclose(self):
    ...

enclose

Encloses a math element in specified characters such as parenthesis or another characters as framing

Returns

If beginning_character and ending_character are null, corresponding properties are assigned values only and no new object is created (returns this instance). Otherwise, returns new math element of type Delimiter which includes specified characters as framing and this instance of MathDelimiter framed inside.

def enclose(self, beginning_character, ending_character):
    ...
ParameterTypeDescription
beginning_charactercharBeginning character (usually left bracket)
ending_charactercharEnding character (usually right bracket)

See Also