Enclose
Contents
[
Hide
]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)
Parameter | Type | Description |
---|---|---|
beginningCharacter | Char | Beginning character (usually left bracket) |
endingCharacter | Char | Ending 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
- interface IMathDelimiter
- class MathBlock
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
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)
Parameter | Type | Description |
---|---|---|
beginningCharacter | Char | Beginning character (usually left bracket) |
endingCharacter | Char | Ending character (usually right bracket) |
separatorCharacter | Char | Separator 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
- interface IMathDelimiter
- class MathBlock
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides