idx_get()

MathBlock::idx_get(int32_t) method

Gets IMathElement at the specified index.

System::SharedPtr<IMathElement> Aspose::Slides::MathText::MathBlock::idx_get(int32_t index) override

Arguments

ParameterTypeDescription
indexint32_tThe zero-based index of the item

Return Value

The mathematical element.

Remarks

Example:

auto mathBlock = System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"x"));
auto firstElem = mathBlock->idx_get(0);

See Also