Enclose()
Contents
[
Hide
]MathElementBase::Enclose() method
Encloses a math element in parenthesis
System::SharedPtr<IMathDelimiter> Aspose::Slides::MathText::MathElementBase::Enclose() override
Return Value
The math element of type IMathDelimiter which includes the parenthesis
Remarks
Example:
auto element = System::MakeObject<MathematicalText>(u"x");
auto delimiter = element->Enclose();
MathElementBase::Enclose(char16_t, char16_t) method
Encloses a math element in specified characters such as parenthesis or another characters as framing
System::SharedPtr<IMathDelimiter> Aspose::Slides::MathText::MathElementBase::Enclose(char16_t beginningCharacter, char16_t endingCharacter) override
Arguments
Parameter | Type | Description |
---|---|---|
beginningCharacter | char16_t | Beginning character (usually left bracket) |
endingCharacter | char16_t | Ending character (usually right bracket) |
Return Value
The math element of type IMathDelimiter which includes specified characters as framing
Remarks
Example:
auto element = System::MakeObject<MathematicalText>(u"x");
auto delimiter = element->Enclose(u'[', u']');
See Also
- Typedef SharedPtr
- Class IMathDelimiter
- Class MathElementBase
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides