JoinBlock()
IMathBlock::JoinBlock(System::SharedPtr<IMathBlock>) method
Joins another mathematical block with this one
virtual System::SharedPtr<IMathBlock> Aspose::Slides::MathText::IMathBlock::JoinBlock(System::SharedPtr<IMathBlock> other)=0
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
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides