IMathElementEnclose Method (Char, Char)

Encloses this element in specified characters such as parenthesis or another characters as framing

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathDelimiter Enclose(
	char beginningCharacter,
	char endingCharacter
)

Parameters

beginningCharacter
Type: SystemChar
Beginning character (usually left bracket)
endingCharacter
Type: SystemChar
Ending character (usually right bracket)

Return Value

Type: IMathDelimiter
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