Enclose

Enclose(char, char)

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

public virtual IMathDelimiter Enclose(char beginningCharacter, char endingCharacter)
ParameterTypeDescription
beginningCharacterCharBeginning character (usually left bracket)
endingCharacterCharEnding character (usually right bracket)

Return Value

The math element of type IMathDelimiter which includes specified characters as framing

Examples

Example:

[C#]
IMathElement element = new MathematicalText("x");
IMathDelimiter delimiter = element.Enclose('[', ']');

See Also


Enclose()

Encloses a math element in parenthesis

public IMathDelimiter Enclose()

Return Value

The math element of type IMathDelimiter which includes the parenthesis

Examples

Example:

[C#]
IMathElement element = new MathematicalText("x");
IMathDelimiter delimiter = element.Enclose();

See Also