Enclose

Enclose(char, char)

Encloses child elements of this block in specified characters such as parenthesis or another characters as framing

public override 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#]
IMathBlock block = new MathematicalText("x").Join("+y");
IMathDelimiter delimiter = block.Enclose('[', ']');

See Also


Enclose(char, char, char)

Encloses child elements of this block in specified characters such as parenthesis or another as framing and delimit with a separator character

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

Return Value

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

Examples

Example:

[C#]
IMathBlock mathBlock = new MathematicalText("x").Join("y");
IMathDelimiter delimiterElement = mathBlock.Enclose('{', '}', '%');

See Also