Join()

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

Joins a mathematical element with this mathematical block

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

Arguments

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

Return Value

The current instance of IMathBlock

Remarks

Example:

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

MathBlock::Join(System::String) method

Joins a mathematical text with this mathematical block

System::SharedPtr<IMathBlock> Aspose::Slides::MathText::MathBlock::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:

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

See Also