idx_set()
MathBlock::idx_set(int32_t, System::SharedPtr<IMathElement>) method
Sets IMathElement at the specified index.
void Aspose::Slides::MathText::MathBlock::idx_set(int32_t index, System::SharedPtr<IMathElement> value)
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero-based index of the item |
value | System::SharedPtr<IMathElement> | The mathematical element. |
Remarks
Example:
auto mathBlock = System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"x"));
auto firstElem = mathBlock->idx_get(0);
See Also
- Typedef SharedPtr
- Class IMathElement
- Class MathBlock
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides