MathBlock()
Contents
[
Hide
]MathBlock::MathBlock() constructor
Initializes a new instance of the MathBlock class.
Aspose::Slides::MathText::MathBlock::MathBlock()
Remarks
Example:
auto mathBlock = System::MakeObject<MathBlock>();
MathBlock::MathBlock(System::SharedPtr<IMathElement>) constructor
Creates a new mathematical block and puts specified element in it
Aspose::Slides::MathText::MathBlock::MathBlock(System::SharedPtr<IMathElement> mathElement)
Arguments
Parameter | Type | Description |
---|---|---|
mathElement | System::SharedPtr<IMathElement> | The mathematical element to put in the block |
Remarks
Example:
auto mathBlock = System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"x"));
MathBlock::MathBlock(System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<IMathElement>>>) constructor
Creates a new mathematical block and puts specified elements in it
Aspose::Slides::MathText::MathBlock::MathBlock(System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<IMathElement>>> mathElements)
Arguments
Parameter | Type | Description |
---|---|---|
mathElements | System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<IMathElement>>> | Mathematical elements to put in the block |
Remarks
Example:
auto elems = System::MakeArray<System::SharedPtr<Aspose::Slides::MathText::IMathElement>>({System::MakeObject<MathematicalText>(u"item1"), System::MakeObject<MathematicalText>(u"item2")});
auto mathBlock = System::MakeObject<MathBlock>(elems);
See Also
- Typedef SharedPtr
- Class MathBlock
- Class IMathElement
- Class IEnumerable
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides