JoinBlock()
MathBlock::JoinBlock(System::SharedPtr<IMathBlock>) method
Joins another mathematical block with this one
System::SharedPtr<IMathBlock> Aspose::Slides::MathText::MathBlock::JoinBlock(System::SharedPtr<IMathBlock> other) override
Arguments
Parameter | Type | Description |
---|---|---|
other | System::SharedPtr<IMathBlock> | The joining block |
Return Value
this mathematical block after joining
Remarks
Example:
auto block1 = System::MakeObject<MathSuperscriptElement>(System::MakeObject<MathematicalText>(u"c"), System::MakeObject<MathematicalText>(u"2"))->Join(System::MakeObject<MathematicalText>(u"="));
auto block2 = System::MakeObject<MathSuperscriptElement>(System::MakeObject<MathematicalText>(u"a"), System::MakeObject<MathematicalText>(u"2"))->Join(System::MakeObject<MathematicalText>(u"+"))->Join(System::MakeObject<MathSuperscriptElement>(System::MakeObject<MathematicalText>(u"b"), System::MakeObject<MathematicalText>(u"2")));
auto block3 = block1->JoinBlock(block2);
See Also
- Typedef SharedPtr
- Class IMathBlock
- Class MathBlock
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides