Join()

IMathElement::Join(System::SharedPtr<IMathElement>) method

Joins a mathematical element and forms a mathematical block

virtual System::SharedPtr<IMathBlock> Aspose::Slides::MathText::IMathElement::Join(System::SharedPtr<IMathElement> mathElement)=0

Arguments

ParameterTypeDescription
mathElementSystem::SharedPtr<IMathElement>The element to be joined

Return Value

A new IMathBlock containing this instance and specified argument

Remarks

Example:

auto element1 = System::MakeObject<MathematicalText>(u"x");
auto element2 = System::MakeObject<MathematicalText>(u"y");
auto block = element1->Join(element2);

IMathElement::Join(System::String) method

Joins a mathematical text and forms a mathematical block

virtual System::SharedPtr<IMathBlock> Aspose::Slides::MathText::IMathElement::Join(System::String mathText)=0

Arguments

ParameterTypeDescription
mathTextSystem::StringMathematical text to be joined

Return Value

A new IMathBlock containing this instance and specified argument

Remarks

Example:

System::SharedPtr<IMathElement> element = System::MakeObject<MathematicalText>(u"x");
auto block = element->Join(u"+y");

See Also