Join()

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

Joins a mathematical element and forms a mathematical block

System::SharedPtr<IMathBlock> Aspose::Slides::MathText::MathElementBase::Join(System::SharedPtr<IMathElement> mathElement) override

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);

MathElementBase::Join(System::String) method

Joins a mathematical text and forms a mathematical block

System::SharedPtr<IMathBlock> Aspose::Slides::MathText::MathElementBase::Join(System::String mathText) override

Arguments

ParameterTypeDescription
mathTextSystem::StringMathematical text to be joined

Return Value

A new IMathBlock containing this instance and specified argument

Remarks

Example:

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

See Also