Enclose()

IMathBlock::Enclose(char16_t, char16_t, char16_t) method

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

virtual System::SharedPtr<IMathDelimiter> Aspose::Slides::MathText::IMathBlock::Enclose(char16_t beginningCharacter, char16_t endingCharacter, char16_t separatorCharacter)=0

Arguments

ParameterTypeDescription
beginningCharacterchar16_tBeginning character (usually left bracket)
endingCharacterchar16_tEnding character (usually right bracket)
separatorCharacterchar16_tSeparator character

Return Value

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

Remarks

Example:

auto mathBlock = System::MakeObject<MathematicalText>(u"x")->Join(u"y");
auto delimiterElement = mathBlock->Enclose(u'{', u'}', u'%');

See Also